Skip to content

Creating a Representation of Electrical Cables with IFCopenshell - Assigning Geometry Data Woes #3260

Answered by Moult
OrionSehn asked this question in Q&A
Discussion options

You must be logged in to vote

As @aothms said, the majority of the API is agnostic to Blender. However the add_representation API depends on Blender. This is a bit historic and we should really rename it to add_blender_representation to prevent confusion.

There are hundreds of ways to create geometry. The API only handles the most common ways like parametric layered and profile extrusions and arbitrary meshes (but maybe as you say "cable-like" or "rebar-like" geometry should be added to the API for convenience).

Once you start deviating and wanting to add your own geometry, you have two options: either go down to the core level and create swept disk solids etc from scratch as @aothms is suggesting, or alternatively, a…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Moult
Comment options

Comment options

You must be logged in to vote
3 replies
@OrionSehn
Comment options

@Moult
Comment options

@aothms
Comment options

Answer selected by OrionSehn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants