Skip to content

2D Geometry system #25

@wgbowley

Description

@wgbowley

The goal is to create a universal geometry system that looks similar to this:

# Create an instance of the builder
builder = GeometryBuilder()

# Use the builder to create simple shapes, which are now VectorObject instances
outer_square = builder.create_square((0, 0), 10)
inner_square = builder.create_square((0, 0), 4)

# Create the annulus square using a subtract operation
annulus_square = outer_square.subtract(inner_square)

# Move the final combined object
final_shape = annulus_square.translate(10, 5)

The goal is to create a parametric geometry system that would integrate with parametric sweep modules and perhaps topology optimization modules.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions