Skip to content

Tags: IfcOpenShell/IfcOpenShell

Tags

bonsai-0.8.6-alpha2608192307

Toggle bonsai-0.8.6-alpha2608192307's commit message
express.h: remove non-snake case aliases (schemas are regenerated now)

bonsai-0.9.0-alpha2608162204

Toggle bonsai-0.9.0-alpha2608162204's commit message
Allows key point referents to be nested to the parent alignment in th…

…e reusing horizontal scenario

bonsai-0.8.6-alpha2608132105

Toggle bonsai-0.8.6-alpha2608132105's commit message
Allows key point referents to be nested to the parent alignment in th…

…e reusing horizontal scenario

bonsai-0.8.6-alpha2608122009

Toggle bonsai-0.8.6-alpha2608122009's commit message
Strengthens implementation of station_to_string. Adds alignment name …

…to stationing referent.

bonsai-0.8.6-alpha2608111531

Toggle bonsai-0.8.6-alpha2608111531's commit message
fixes to sequence.create_baseline:

- assert isinstance(res, list) was wrong because duplicate_task returns a tuple not a list
- removed overkill assertion anyway as the usecase is already typed.
- setting optional name or reuse planned schedule name
- usecase now returns created baseline work schedule

bonsai-0.8.6-alpha2608111014

Toggle bonsai-0.8.6-alpha2608111014's commit message
Apply suggestion from @aothms

bonsai-0.8.6-alpha2608090641

Toggle bonsai-0.8.6-alpha2608090641's commit message
Fix #9278. calculate_unit_scale raises the SI prefix to the length ex…

…ponent for prefixed SQUARE_METRE/CUBIC_METRE units.

An SI prefix attaches to the base unit symbol and the prefixed symbol is
raised to the power as a whole: DECI CUBIC_METRE is dm3 = a litre = 1e-3 m3,
not 0.1 m3. The scale factor previously applied the prefix multiplier
linearly for all IfcSIUnits, inflating volumes x100 and areas x10 for such
declarations (produced e.g. by MagiCAD for Revit MEP exports).

Following the reviewer note in #9278, the exponent is taken from the
derived attribute IfcSIUnit.Dimensions rather than from substring matching
on the unit name: the multiplier is raised to LengthExponent only when the
unit's dimensions are a pure power of length, so prefixed derived units
(KILO PASCAL, MEGA NEWTON) and non-length units (KILO GRAM) correctly keep
the linear multiplier. This matches the exponent handling already present
in convert() and named_dimensions in the same module.

Adds regression tests for prefixed AREAUNIT/VOLUMEUNIT and for the
linear-prefix behaviour of PRESSUREUNIT/MASSUNIT.

bonsai-0.8.6-alpha2608081735

Toggle bonsai-0.8.6-alpha2608081735's commit message
Revised update_alignment_parameter_segment_tags to make EndTag optional

bonsai-0.8.6-alpha2608072133

Toggle bonsai-0.8.6-alpha2608072133's commit message
Adds update_alignment_parameter_segment_tags function

bonsai-0.8.6-alpha2608051426

Toggle bonsai-0.8.6-alpha2608051426's commit message
Updates update_key_point_referents to confirm to CT 4.1.4.4.3