draft working plane, normal to a straight edge
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
draft working plane, normal to a straight edge
Is there smart way to get the working plane normal to a straight edge with FreeCAD Gui?
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: draft working plane, normal to a straight edge
Marios Workfeature macro
Re: draft working plane, normal to a straight edge
That would be an interesting feature to add... But there are 360° possibilities around the axis... We need a way to define the X direction too
Re: draft working plane, normal to a straight edge
I needed it to make a circle which normal to an edge. I used Python to create the circle. But anyway I must admit it would be cool to set this.
Re: draft working plane, normal to a straight edge
What we could do it simply rotate the current WP so the current axis direction becomes the edge direction (we still need to define which direction, as a linear edge can have two). The rotation around the edge will be rather uncontrollable, though...
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: draft working plane, normal to a straight edge
I would prefer the normal and binormal vector to define the coordinate system for the plane.
I work with this direction tangent/normal or tangent/binormal here
https://www.youtube.com/watch?v=fScyrV9fB80
for the case here a 3rd combination normal/binormal is required
this are only some extra lines of code for another selection
https://en.wikipedia.org/wiki/Frenet%E2 ... t_formulas
I work with this direction tangent/normal or tangent/binormal here
https://www.youtube.com/watch?v=fScyrV9fB80
for the case here a 3rd combination normal/binormal is required
this are only some extra lines of code for another selection
https://en.wikipedia.org/wiki/Frenet%E2 ... t_formulas
Re: draft working plane, normal to a straight edge
So the thing would be for ex. to select two edges, or an edge and a point... But then, the user could want to place the plane coplanar to it, not perpendicular...
I think this begins to bee too many options for the working plane tool. Maybe a better path would be indeed to integrate the workplane WB tools better in it?
I think this begins to bee too many options for the working plane tool. Maybe a better path would be indeed to integrate the workplane WB tools better in it?
Re: draft working plane, normal to a straight edge
hi
is it this ? (not perfect if the object angle change)
thanks but Marios Rentlau Workfeature macro
mario
is it this ? (not perfect if the object angle change)
thanks but Marios Rentlau Workfeature macro
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.