Commit Graph

6496 Commits

Author SHA1 Message Date
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
CyrilWaechter 50f1c52d24 Remove bloat line 2023-01-05 16:59:48 +11:00
CyrilWaechter a5e419cdc3 Remove duplicate line 2023-01-05 16:59:48 +11:00
CyrilWaechter d22557c8a0 Move boundary origin to space origin
Ensure that boundary origin is same as space origin to assign correct
geometry into IFC.
2023-01-05 16:59:48 +11:00
Ryan Schultz c6e285cef8 where to look to see if a dependency has changed. 2023-01-05 16:59:48 +11:00
CyrilWaechter f81fc4e748 Remove unecessary line which make build failing 2023-01-05 16:59:48 +11:00
Dion Moult 28d9e435d1 Write documentation for the nest API module. 2023-01-05 16:59:48 +11:00
Dion Moult fe5e35bae4 Add API documentation for the material module 2023-01-05 16:59:48 +11:00
Dion Moult 1dc5b8cd33 Add docs for library API module 2023-01-05 16:59:48 +11:00
Dion Moult 8e04847310 Add docs to layer API 2023-01-05 16:59:48 +11:00