Graphscad
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Graphscad

Graphscad : The Graphic Nodal Editor for OpenScad
 
HomeLatest imagesSearchRegisterLog in

 

 Enhanced nodes: text and val_to_text

Go down 
AuthorMessage
ChrisLT




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

Enhanced nodes: text and val_to_text Empty
PostSubject: Enhanced nodes: text and val_to_text   Enhanced nodes: text and val_to_text Icon_minitimeSun 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
Enhanced nodes: text and val_to_text Attachmentnode_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
 
Enhanced nodes: text and val_to_text
Back to top 
Page 1 of 1
 Similar topics
-
» Nodes of type Object2d are not displayed

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