Graphscad

Graphscad : The Graphic Nodal Editor for OpenScad
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Enhanced nodes: text and val_to_text

View previous topic View next topic Go down 
AuthorMessage
ChrisLT



Messages : 45
Date d'inscription : 2017-01-30
Localisation : Newbury, Berkshire, England

PostSubject: Enhanced nodes: text and val_to_text   Sun 5 Mar - 20:04

OpenSCAD allows horizontal and vertical alignment of text objects. The current node_text and node_val_to_text don't implement horizontal alignment and miss out the most important possible value, baseline, for vertical alignment.
So I have edited them to include these.
Options are:
valign: top, center, baseline, bottom. The default is now baseline.
halign: left, center, right. Default is 'left'

Note that a minor bug in GraphSCAD 1.0.7 makes it difficult to see values in the valign combo box as it is drawn under the halign one. The currently selected value is shown opposite the word "valign", so the value just above it is invisible.
Attachments
node_text.zip
Improved versions of node_text and node_val_to_text
You don't have permission to download attachments.
(2 Kb) Downloaded 1 times
Back to top Go down
View user profile
 
Enhanced nodes: text and val_to_text
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Graphscad :: show your creations-
Jump to: