gumyr/build123d

Topology Constructors: Solid

Closed this issue · 0 comments

The topology constructors are missing for the derived classes of Shape and therefore appear to have the same superset of parameters for all of them even though that isn't true. For example, a Solid can have no children, a parameter restricted to Compound. In addition, class methods are required to create basic objects - for example Solid.make_solid(shell).

These classes should get their own constructors and be able to accept class specific objects for the creation of the basic object. For Wire the following two signatures should be available:

  1. obj: TopoDS_Shape/TopoDS_Solid
  2. shell: Shell

(all of these would also have the label, color, material, joints and parent parameters)

The Solid.make_solid method will be deprecated and removed in the v1.0.0 release.