Commit Graph

6650 Commits

Author SHA1 Message Date
Dion Moult 240884e646 No need to specify SI unit names as they can be derived from the unit type blenderbim-230105 2023-01-05 17:16:46 +11:00
Dion Moult 3567dc8ae5 Merge branch 'mdjska-v0.7.0' into v0.7.0 2023-01-05 16:59:59 +11:00
Sigma Dimensions 54f324436f BBIM fix: prevent "guess_all_quantities" operator from showing up on Property Sets 2023-01-05 16:59:48 +11:00
Dion Moult d5b31bc4f4 Write docs for void API module 2023-01-05 16:59:48 +11:00
Dion Moult 844e6377f4 Write docs for unit API module 2023-01-05 16:59:48 +11:00
Dion Moult 71076d313e Write docs for type API module 2023-01-05 16:59:48 +11:00
Dion Moult 3bc2985b6b Write docs for system API module 2023-01-05 16:59:48 +11:00
Dion Moult e28b837cd6 Write docs for style API module 2023-01-05 16:59:48 +11:00
Dion Moult e22904b41b Documentation example fixes where I forgot to give things with representations a placement 2023-01-05 16:59:48 +11:00
Sigma Dimensions af1949678a Various 4D improvements:
- refactor work schedule visualisation operator
- Fix text handler
- Improve durations UI for task times (proposal to replicate for all durations)
- Simplify durations ( P32H as P4D or P1D8H)
- Implement years/months in various datetime calculations
- Feature to customise animation colors per construction task type
- Feature to add Visual task bars
- Feature to customise Visual task bar material colors
- Move helper functions from blenderbim.bim.module.sequence to ifcopenshell.util.sequence
2023-01-05 16:59:48 +11:00
Dion Moult 83e483555f Write documentation for structural API module 2023-01-05 16:59:48 +11:00
Dion Moult 4442c2a604 Write documentation for spatial API module 2023-01-05 16:59:48 +11:00
Dion Moult 9da91f538b Write documentation for sequence API module 2023-01-05 16:59:48 +11:00
Dion Moult 5ad8ad836a Add new code example for creating a work schedule 2023-01-05 16:59:48 +11:00
Massimo Fabbro 2723f71bfe Finish mapping quantities (see #2533) (#2661)
* Finish Qto_SignBaseQuantities

* Finish Qto_RailBaseQuantities

* Finish Qto_PitorialSignQuantities

* Finish Qto_JunctionBoxBaseQuantities

* Finish Qto_ArealStratumBaseQuantities

* Finish Qto_SiteBaseQuantities

* Finish Qto_RoofBaseQuantities

* Finish Qto_RoofBaseQuantities

* Finish Qto_ChimneyBaseQuantities

* Finish Qto_EarthworksCutBaseQuantities

* Finish Qto_KerbBaseQuantities

* Finish Qto_PavementBaseQuantities

* Finish Qto_RampFlightBaseQuantities

* Finish Qto_SurfaceFeatureBaseQuantities

* Finish Qto_StairFlightBaseQuantities

* Finish Qto_ConstructionMaterialResourceBaseQuantities

* Finish Qto_DistributionChamberElementBaseQuantities

* Finish Qto_CourseBaseQuantities

* Finish Qto_RailingBaseQuantities

* Finish Qto_SleeperBaseQuantities

* Finish Qto_TankSurfaceQuantities

* Finish Qto_BuildingElementProxy

* Finish Qto_MemberBaseQuantities

* Finish Qto_BodyGeometryValidation

* Finish Qto_VolumetricStratumBaseQuantities

* Finish Qto_SpatialZoneBaseQuantities

* Finish Qto_ReinforcingElementBaseQuantities

* Finish update calculate all quantities button with new calculating functions
2023-01-05 16:59:48 +11:00
Thomas Krijnen d298d13713 Fix build-all collada compile on gcc 9.4.0 2023-01-05 16:59:48 +11:00
Sigma Dimensions 7f555b9d07 code clean up for sequence module 2023-01-05 16:59:48 +11:00
Sigma Dimensions 8004a45b54 features to guess schedule date range and setup default task columns, and code clean up 2023-01-05 16:59:48 +11:00
Sigma Dimensions 3fd1209906 Fix: When counting working days, consider if calendar is applicable 2023-01-05 16:59:48 +11:00
Sigma Dimensions 65c6876a23 2 Fixes for 1 commit:
- Consider all tasks descendants when deriving task earliest or latest dates
2023-01-05 16:59:48 +11:00
Sigma Dimensions 72fbfa382f BBIM: feature to display total task Assignements 2023-01-05 16:59:48 +11:00
Thomas Krijnen 50f3178d97 Feature: express rules (#2662)
* temp reasonable state, missing rule_head contents

* better state, with init() and rule_id, but some missing parameters

* performance; embed root in dict; fix lookup

* Add ast_utils

* Fixes related to listnode and typo

* First steps with code gen

* Finalize first steps towards working code generation

* Backwards compat

* Rule execution, error formatting, test cases

* Where rule: support indexing, more expressions, test plane angle measure

* positive length measure test cases

* Venture into entity rules, test actor role

* Fixed for not unary op and address test cases

* Test group qualifier and air terminal type

* typeof() implementation and test annotation curve occ

* Flexible handling of expression, type set intersection, IfcAnnotationSurface test cases

* Functions, derived attrs, fix branch order, allow to terminate branches, apply -1 to index

* Implement express query(), test cases for 2x3 bspline curve

* Function args, if-else, repeat, entity instance construction, cshape test cases

* Multiple function call arguments and other small but influential changes. IfcDotProject() almost working except for variable case

* Make lowercase and fix assignment to qualified lhs

* Entity instance schema without file, aggregate assignment workaround, range fix, lowercase instance locals, extruded area direction test cases

* Enumeration item handling, query() robustness, arbitrary profile test cases

* Empty aggregate_initializer, xor and instance equality, nested expression fix in IfcCrossProduct, axis2-3d test cases

* Numeric stable sort with indices greater then 10, get ast node parent, redeclared derived support, nested expression robustness, define entity functions, case statements, xor, mod, bool literals, nvl, unknown, conversion based unit test cases

* Safeguard for schema name case norm, case norm query variable_id

* free instance comparison, supertype serialization fix, include inherited attributes in locals, proper elif-else in case stmt, loindex, shape rep test cases

* Union operator on set, retain general_aggr_types in parse tree, test cases for property set

* Escape stmt, rule locals and statements

* Return calculated values for redeclared derived attributes

* fix for rules without stmt, add derived and inverse attributes to locals, filter unused locals, wrap exists() arg with lambda to catch indexerror, support repeated aggr init element, typeof() none check, enum namespace uppercase

* Regen 2x3 rules

* Rule test filter only on basename

* Update fixtures for compliance with full body of rules

* Add rule support to ifcopenshell.validate

* Implement usedin() function, test cases for IfcWallSC MLS

* blength

* Run code generation on all schemas

* Try to eliminate runtime pyparsing dep

* Try to eliminate runtime pyparsing dep
2023-01-05 16:59:48 +11:00
Sigma Dimensions 6546b10838 Display Scheduled Resource Usage as a property within rersource tree 2023-01-05 16:59:48 +11:00
Sigma Dimensions 155badc85e Enable displaying number of resources used by a task 2023-01-05 16:59:48 +11:00
Sigma Dimensions d7e2587b1f Task Output selection improvements - allow recursive nesting and add checkbox to toggle between nested and non-nested 2023-01-05 16:59:48 +11:00
Thomas Krijnen d9bbf16e5e Update ci-py-only.yml 2023-01-05 16:59:48 +11:00
Thomas Krijnen 676187b6fc Update ci.yml 2023-01-05 16:59:48 +11:00
Andrej730 800eb67afb Added mention of sverchok's copyrights 2023-01-05 16:59:48 +11:00
Andrej730 46a1b4775c Added base for ifc sverchok modifier
It's located in "Modifiers" section of the properties (the same way as IFC Array or IFC Stair).
It requires Sverchok addon to be enabled (it's lazy importing it when it's needed, so there is no new constant dependency).

What you can now do with it:
1) Add sverchok graphs to this modifier and store simple data from sverchok in IFC ("Update data from sverchok). The "output" node of the sverchok graph has to be type of "Viewer Draw" and it's name should start with "ifcoutput" (no case-sensitive).
2) Import/export json of sverchok graphs.
2023-01-05 16:59:48 +11:00
Andrej730 f80cc7c7f5 Removed deprecated angle annotations operator
As it's currently completely replace with new more intuitive operator.
2023-01-05 16:59:48 +11:00
Andrej730 a7cbc628a8 Fixed annotations angle operator svg rendering bug
Fixed bug where the angle was drawn in svg only for the first two edges of the curve.
Now it takes into account all edges - first angle = edge0 + edge1, second angle = edge1 + edge2 etc.
2023-01-05 16:59:48 +11:00
CyrilWaechter 3ab02a3931 Allow to write to unexisting directory
`ifcopenshell.write("/unexisting/path/model.ifc")` was failing without
throwing an error. It now works and a test ensure it works.
2023-01-05 16:59:48 +11:00
Sigma Dimensions 31b095ff68 fix library import for date utils 2023-01-05 16:59:48 +11:00
Sigma Dimensions b09e19dc8a Proposal to use parent productivity to calculate resource work. 2023-01-05 16:59:48 +11:00
Sigma Dimensions 97327dbc13 BBIM: forgotten commit for "ScheduleDuration" formatting 2023-01-05 16:59:48 +11:00
Sigma Dimensions 9ad0fca10e fix typo for resource_work calculation 2023-01-05 16:59:48 +11:00
Sigma Dimensions bea095afd0 fix offset date calculation when finish date lies outside of calendar range 2023-01-05 16:59:48 +11:00
Dion Moult d34e45fad5 Add support for loading IFCs with aggregated types 2023-01-05 16:59:48 +11:00
Dion Moult efed95615e Write documentation for root API module 2023-01-05 16:59:48 +11:00
Dion Moult 9bb4b0328a Write documentation for resource API module 2023-01-05 16:59:48 +11:00
Dion Moult 5f9d1a5e63 Write documentation for pset_template API module 2023-01-05 16:59:48 +11:00
Dion Moult f6ba95935a Add documentation for pset API module 2023-01-05 16:59:48 +11:00
Dion Moult d9d58af049 Consolidate standard "clean environment" instructions in docs 2023-01-05 16:59:48 +11:00
Dion Moult aed3bdf72a Write docs for project API module 2023-01-05 16:59:48 +11:00
Dion Moult 968f56a189 Revert detailed SPF comments in code example
Sorry I find these really hard to read an intimidating for new users.
2023-01-05 16:59:48 +11:00
Dion Moult 90d92e70b2 Write docs for profile API module 2023-01-05 16:59:48 +11:00
Dion Moult efacef1789 Write docs for owner API module 2023-01-05 16:59:48 +11:00
Ryan Schultz a590cf8330 Added some troubleshooting measures to determine if another plugin is interfering with BB. 2023-01-05 16:59:48 +11:00
fbpyr 05a7c66843 bump python version
bumping python version, so it works with our ubuntu latest image and `actions/setup-python@v2`
2023-01-05 16:59:48 +11:00
CyrilWaechter c4a4752a7e Ignore mypy cache, swig and compiled files 2023-01-05 16:59:48 +11:00