Open franknoirot opened 4 days ago
Game plan here is:
offset_plane
to return an entity ID in addition to its PlaneData
, and add a side-effect function like make_default_plane
that fires off the engine commands to create a visible plane representation.
If the user has created a plane using either the
offsetPlane
or other plane-creating function in KCL (or via the UI after #2213 is complete), we should show them as a real plane in the scene that can be selected and therefore sketched on. Once #4274 is complete, these planes' visibility should also be able to be toggled within the feature tree's UI.The following KCL code should result in a circle on the XY plane with a plane shown 10 units above it:
Engine notes
None. This would be a similar flow to the one used by the default planes, so should require nothing special to implement.
API/KCL notes
Point-and-click notes