问题标签 [solid-bodies]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c++ - Starting point for learning CAD/CAE file formats?
We are developing some stress and strain analysis software at university. Now it's time to move from rectangles and boxes and spheres to some real models. But I still have little idea where to start.
In our software we are going to build mesh and then make calculations, but how do I import solid bodies from CAD/CAE software?
1) How CAD/CAE models are organised? How solid bodies are represented? What are the possibilities of DWG, DXF, IGES, STEP formats? There is e.g. a complete DXF reference, but it's too difficult for me to understand without knowing basic concepts.
2) Are there C++ libraries to import solid bodies from CAD/CAE file formats? Won't it be too difficult to build a complete model to be able to import comprehensive file?
algorithm - 如何表示/修改 3d 实体
在我的程序中,我有一些立方体(简单,xyz 位置,xyz 大小)。我希望 bo 能够取出其中一个立方体并从中“减去”另一个立方体。
所以我的问题是,什么是一个好的通用数据结构来表示生成的 3d 对象,以及使用什么样的算法从另一个中减去 3d 实体?