@@ -25,7 +25,7 @@ Here's an example of changing settings in Python:
2525.. code-block :: python
2626
2727 settings = ifcopenshell.geom.settings()
28- settings.set(settings. APPLY_DEFAULT_MATERIALS , True )
28+ settings.set(" apply-default-materials " , True )
2929 settings.set_deflection_tolerance(1e-3 )
3030
3131 angular_tolerance
@@ -53,7 +53,7 @@ Here is an example in Python:
5353.. code-block :: python
5454
5555 settings = ifcopenshell.geom.settings()
56- settings.set_angular_tolerance( 0.5 )
56+ settings.set( " mesher-angular-deflection " , 0.5 )
5757
5858 APPLY_DEFAULT_MATERIALS
5959-----------------------
@@ -178,7 +178,7 @@ Here is an example in Python:
178178
179179 settings = ifcopenshell.geom.settings()
180180 contexts = [c.id() for c in ifc_file.by_type(" IfcGeometricRepresentationContext" ) if c.ContextIdentifier == " Body" ]
181- settings.set_context_ids( contexts)
181+ settings.set( " context-ids " , contexts)
182182
183183
184184 CONVERT_BACK_UNITS
@@ -228,7 +228,7 @@ Here is an example in Python:
228228.. code-block :: python
229229
230230 settings = ifcopenshell.geom.settings()
231- settings.set_deflection_tolerance( 1e-3 )
231+ settings.set( " mesher-linear-deflection " , 1e-3 )
232232
233233 DISABLE_BOOLEAN_RESULT
234234----------------------
@@ -273,7 +273,7 @@ For example, if you want to set this setting in a python script you can use the
273273.. code-block :: python
274274
275275 settings = ifcopenshell.geom.settings()
276- settings.set(settings. DISABLE_OPENING_SUBTRACTIONS , True )
276+ settings.set(" disable-opening-subtractions " , True )
277277
278278
279279 DISABLE_TRIANGULATION
0 commit comments