Skip to content

Error when adding a Shape class #12

Answered by dipts
RileyGe asked this question in Q&A
Discussion options

You must be logged in to vote

Hi RileyGe,
the signature of this function is public bool SetPoint(ref Point point, int pointKey, bool isConstant), did you changed that or created an overload?

What is the user story behind a vertex shape? Do you plan to build modifier/shaping tools on top of that? Then you need to define a new ShapeType, since "solid" should really contain valid TopoDS_Solid, as all modifier expect this type when feeded with a "solid" shape type. If the vertex is only for reference, you could better implement it as an "auxiliary", as recently introduced with the DatumPlane entity type.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@RileyGe
Comment options

@RileyGe
Comment options

@RileyGe
Comment options

@dipts
Comment options

Answer selected by RileyGe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants