Hello,
sorry for this noob question, but I couldn't find an answer anywhere: How do I declare a (helper) construction line (or other primitive) with python?
Could somebody give me pls an idea?
Regards
Andre
declare a (helper) construction line in python
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 155
- Joined: Thu Feb 02, 2017 2:49 pm
Re: declare a (helper) construction line in python
Hi,
I'm not sure this is what you're looking for ( I don't use it myself ) :
Construction property (here on a Part.Line) :
I'm not sure this is what you're looking for ( I don't use it myself ) :
Construction property (here on a Part.Line) :
Code: Select all
print(Part.Line.Construction.__doc__)
Code: Select all
Defines this geometry as a construction one which
means that it is not part of a later built shape.
-
- Posts: 155
- Joined: Thu Feb 02, 2017 2:49 pm
Re: declare a (helper) construction line in python
Hi,
thank you this is it! Now I assume it's the same with circle or box, just add the .construction? Guess it should be like that.
Great Thread closed, thank you Chris,
regards
Andre
thank you this is it! Now I assume it's the same with circle or box, just add the .construction? Guess it should be like that.
Great Thread closed, thank you Chris,
regards
Andre