Notes in a Sketch

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
CrashedAgain
Posts: 187
Joined: Wed Jan 15, 2020 8:39 pm

Notes in a Sketch

Post by CrashedAgain »

OS: Ubuntu 20.04.1 LTS (MATE/mate)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23578 (Git) AppImage
Build type: Release
Branch: master
Hash: 50c3cbf00579dc4941ca743c25720d016b0453ce
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/Canada (en_CA)
I'm pretty sure this must have been asked already but I've searched and can't find it.

Is there any way to add notes into a sketch?
and ....
Is there any way to add a dimension that is not a constraint - so that it just acts as a distance measurement?
drmacro
Veteran
Posts: 8984
Joined: Sun Mar 02, 2014 4:35 pm

Re: Notes in a Sketch

Post by drmacro »

CrashedAgain wrote: Fri Jan 15, 2021 6:16 pm ...

Is there any way to add notes into a sketch?
Not that I'm aware.
and ....
Is there any way to add a dimension that is not a constraint - so that it just acts as a distance measurement?
Same as adding a construction line.

Image
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Notes in a Sketch

Post by openBrain »

drmacro wrote: Fri Jan 15, 2021 6:26 pm Same as adding a construction line.

Image
For sake of precision, Sketcher ToggleDrivingConstraint (needed here) is a different function from Sketcher ToggleConstruction
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

Re: Notes in a Sketch

Post by TheMarkster »

Requires 0.19 or later.

In the python console enter:

Code: Select all

sk = App.ActiveDocument.Sketch #replace .Sketch with actual name of the sketch
sk.addProperty("App::PropertyStringList","Notes") #then modify Notes property to include your notes using the property editor
CrashedAgain
Posts: 187
Joined: Wed Jan 15, 2020 8:39 pm

Re: Notes in a Sketch

Post by CrashedAgain »

Excellent!

Exactly what I wanted to know.....

Thank You

One more thing: If/when the "Notes" property is added, is there a way to display it in the sketch (like an annotation)?
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

Re: Notes in a Sketch

Post by TheMarkster »

CrashedAgain wrote: Fri Jan 15, 2021 10:00 pm Excellent!

Exactly what I wanted to know.....

Thank You

One more thing: If/when the "Notes" property is added, is there a way to display it in the sketch (like an annotation)?
Not in the sketch as far as I know.
kisolre
Veteran
Posts: 4166
Joined: Wed Nov 21, 2018 1:13 pm

Re: Notes in a Sketch

Post by kisolre »

I dont know how the geometry is stored and represented in sketcher but is it worth adding some generalization for the future? Like if there is a type that is not understood it is just stored but ignored otherwise (probably some marker that there is extra data would be good). So in the future if somebody adds annotation capabilities those objects will not brace forward compatibility as recent changes did?
Post Reply