CSGRegion

CSGRegion["op",{reg1,reg2,}]

represents the solid region corresponding to the Boolean combination "op" of regions reg1,reg2,.

CSGRegion["op",{,wi[regi],}]

represents the solid region defined by regions regi transformed by a geometric transformation wi.

Details

Examples

open allclose all

Basic Examples  (2)

Intersection of two solid regions in 2D:

Its area:

Intersection of two solid regions in 3D:

Its volume:

Scope  (3)

CSG regions Union:

Difference:

Intersection:

One-level CSG region:

Nested CSG region:

Union with more than two regions:

CSG regions in 2D:

3D:

nD:

Applications  (7)

Basic Applications  (4)

Construct a nested annulus:

CSGRegion using multiple operations:

Create polyhedron with rounded corners:

Model complex objects:

CAD Modeling  (3)

Construct a rail support:

Construct a pipe guide bracket:

Construct a universal joint:

Properties & Relations  (4)

Compute the union of two regions:

RegionIntersection:

RegionDifference:

CSG regions can be represented as Boolean regions:

A CSGRegion object is solid:

The embedding dimension of a CSG region is the same as its geometry dimension:

Interactive Examples  (3)

Create an interactive CSG region to visualize the intersection of multiple draggable disks:

Create an interactive CSG region with draggable points. Click the region to add and remove draggable points:

Separate an object into multiple chunks:

Neat Examples  (2)

Create polyhedron shells:

Separate an object into chunks:

Wolfram Research (2021), CSGRegion, Wolfram Language function, https://reference.wolfram.com/language/ref/CSGRegion.html.

Text

Wolfram Research (2021), CSGRegion, Wolfram Language function, https://reference.wolfram.com/language/ref/CSGRegion.html.

CMS

Wolfram Language. 2021. "CSGRegion." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CSGRegion.html.

APA

Wolfram Language. (2021). CSGRegion. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CSGRegion.html

BibTeX

@misc{reference.wolfram_2022_csgregion, author="Wolfram Research", title="{CSGRegion}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/CSGRegion.html}", note=[Accessed: 03-July-2022 ]}

BibLaTeX

@online{reference.wolfram_2022_csgregion, organization={Wolfram Research}, title={CSGRegion}, year={2021}, url={https://reference.wolfram.com/language/ref/CSGRegion.html}, note=[Accessed: 03-July-2022 ]}