forked from 1b-agent/opencadstudio-upstream
Implement solid shell workflow and properties
This commit is contained in:
1 parent
febedad916
commit
be06a756da
16 files changed
+780
-52
No files matched your search
@@ -177,6 +177,11 @@ pub fn tessellate_sat(
|
||||
color,
|
||||
None,
|
||||
));
|
||||
if let [single] = bodies.as_slice() {
|
||||
if let Some(properties) = brep::analytic_mass_properties(&single.0) {
|
||||
set.apply_mass_properties(properties);
|
||||
}
|
||||
}
|
||||
set.curved_gens = curved_gens;
|
||||
for point in edges {
|
||||
let high = [point[0] as f32, point[1] as f32, point[2] as f32];
|
||||
|
||||
Reference in new issue
Block a user