How to create custom shape #150
Unanswered
MANOUKIAN25
asked this question in
Q&A
Replies: 1 comment
-
Just take a look at the implementation if you want to know how the function is implemented: If you need different shapes, the easiest way is to load an OBJ file. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
From the function "addRegularTriangleModel" from the "simulationModel.cpp" file.
The function creates a rectangle shape according to the height and width given, so I wanted to know please if you could provide an example on how to create different shapes like "trapezoid, isosceles trapezoid, kite" and eventually a combination of these simple shapes together to generate a unique shape .
If it is possible please I'd like also to know how the function "addRegularTriangleModel" is implemented and what each variables refer to (if you have any paper I could look at).
Amazing lib by the way !
Thank you and have a nice week end.
Beta Was this translation helpful? Give feedback.
All reactions