Halfspace
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
-
- Posts: 395
- Joined: Fri Oct 07, 2011 8:58 pm
- Location: Beaverton,Oregon, USA
- Contact:
Re: Halfspace
Hi Dandanielfalck wrote:or 'Section'
Might cause confusion with the current "Part Cross-sections"?
Jim
Re: Halfspace
or simply Part Halfspace, why not? after all it is exactly what it is, and the word halfspace is well known...
There could be 3 types of input then:
- a basepoint and a point
- a face and a point
- a shell and a point
The first and second are actually the same thing, could be merged into one.
There could be 3 types of input then:
- a basepoint and a point
- a face and a point
- a shell and a point
The first and second are actually the same thing, could be merged into one.
Re: Halfspace
Exactly. It is half-space feature and no need to call it something else.or simply Part Halfspace, why not? after all it is exactly what it is, and the word halfspace is well known...
But that would only work with an infinite planar surface....
viewtopic.php?f=8&t=6371#p51253I just stumbled on another way of creating an infinite solid: The
BRepPrimAPI_MakePrism has a constructor to create an infinite prism
from a face.
In case this was missed i rather mentioned it twice.
But about OCE half-space feature i was just wondering if on the long run it would be more efficient and the results would be more predictable (topological naming) to use OCE half-space feature instead of set of other OCE features to create half-space? I guess this question could only be answered if both methods would be implemented and backed by real use case test data?
Anyway any new half-space tool added that will do the job will be nice addition!
- tanderson69
- Veteran
- Posts: 1626
- Joined: Thu Feb 18, 2010 1:07 am
Re: Halfspace
IMHO: If the command is simply going to create a halfspace feature, then "halfspace" for a name makes sense. But if the command is going to make a halfspace and then do the boolean cut then "halfspace" for a name doesn't make sense...at least to me.yorik wrote:or simply Part Halfspace, why not? after all it is exactly what it is, and the word halfspace is well known..
Re: Halfspace
That makes sense indeed...tanderson69 wrote:IMHO: If the command is simply going to create a halfspace feature, then "halfspace" for a name makes sense. But if the command is going to make a halfspace and then do the boolean cut then "halfspace" for a name doesn't make sense...at least to me.
Re: Halfspace
Because using a set other available features/tools to create half-space object will be used i agree for example a "Cut" should be labelled as "Cut" in tree view! But the feature or better yet the tool itself is in the end half-space tool?
You use it to create half-space objects and it makes sense to be called for what is it or better yet for what it does? It creates half-space objects?
You use it to create half-space objects and it makes sense to be called for what is it or better yet for what it does? It creates half-space objects?
- tanderson69
- Veteran
- Posts: 1626
- Joined: Thu Feb 18, 2010 1:07 am
Re: Halfspace
The point of the discussion was about actually needing a halfspace freecad object. There is no point in adding all the code and overhead for a halfspace freecad object if it's only ever used for a boolean cut! If this is true for everyone, we can simply create 1 feature that builds the halfspace and uses it in a boolean cut. At that point naming it halfspace, doesn't make any sense!triplus wrote:Because using a set other available features/tools to create half-space object will be used i agree for example a "Cut" should be labelled as "Cut" in tree view! But the feature or better yet the tool itself is in the end half-space tool?
You use it to create half-space objects and it makes sense to be called for what is it or better yet for what it does? It creates half-space objects?
Re: Halfspace
Some name ideas
Part trim
Part 3d_trim
Part Halfspace_Trim
Part infinite_Trim
Part trim
Part 3d_trim
Part Halfspace_Trim
Part infinite_Trim
Re: Halfspace
From this perspective indeed the thing i was wondering about was (but i guess this question can not be answered without implementing both methods and do tests) how does that affect for example performance. I am guessing this tool will be used on complex objects and i was wondering using different set of tools combined instead of specific tool indented for this task how does that differ regarding performance and any future modification of the resulted object from the perspective of OCC/OCE.The point of the discussion was about actually needing a halfspace freecad object. There is no point in adding all the code and overhead for a halfspace freecad object if it's only ever used for a boolean cut!
But this is i guess a bit off topic regarding terminology debate.
I see your point there actually will not be a tool to create half-space object instead there will be a tool to crate:If this is true for everyone, we can simply create 1 feature that builds the halfspace and uses it in a boolean cut. At that point naming it halfspace, doesn't make any sense!
Hyperplane.I just stumbled on another way of creating an infinite solid: The
BRepPrimAPI_MakePrism has a constructor to create an infinite prism
from a face.
The confusion on my side was i thought there will be a tool where user would create hyperplane and do the cutting part in one go. If this tool will be used to create hyperplane well then i guess we have the name for it and for resulting object in tree view too.