-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
featureProposal for a new feature.Proposal for a new feature.
Description
This is related to (probably exactly the same as) #135.
I want to create a work plane, create some 2D geometry in here, and then extrude it.
So first: create the model and 3d geometry and a work plane:
client = mph.start()
model = client.create()
model.create('geometries/geometry', 3)
model.create('geometries/geometry/wp1', 'WorkPlane')
When creating a work plane in comsol, a 2D geometry is automatically built (see work plane in https://doc.comsol.com/6.1/doc/com.comsol.help.comsol/COMSOL_ProgrammingReferenceManual.pdf). I can access this and for example create an ellipse with
wp = model/'geometries/geometry/wp1'
wp.java.geom().create('e1', 'Ellipse')
but I don't seem to be able to access it through wp.create('geom/e1', 'Ellipse')
or anything else I've tried. Neither it nor the ellipse shows up in mph.tree(model)
either.
Metadata
Metadata
Assignees
Labels
featureProposal for a new feature.Proposal for a new feature.