Commit Graph

1550 Commits

Author SHA1 Message Date
CyrilWaechter 10f56a7ae2 IfcZone : Allow basic selection/deletion/creation 2023-01-05 16:59:47 +11:00
Massimo Fabbro c71b9c1915 Finish mapping Qto_CoveringBaseQuantities 2023-01-05 16:59:47 +11:00
Massimo Fabbro 02eb846dea Finish mapping Qto_DoorBaseQuantities and Qto_WindowBaseQuantities 2023-01-05 16:59:47 +11:00
Massimo Fabbro 899995cb51 Minor fix 2023-01-05 16:59:47 +11:00
Massimo Fabbro 85dde1033a Fix get_gross_side_area for Qto_WallBaseQuantities 2023-01-05 16:59:47 +11:00
Ryan Schultz efaa79a841 Added diffuse_color inside IFC Style panel 2023-01-05 16:59:47 +11:00
Andrej730 201e290897 documented create_simple_2dcurve() 2023-01-05 16:59:47 +11:00
Andrej730 c371bf32e7 Added c-, z-profiles with lips to AU steel library
Added c- and z-profiles with lips to IFC AU Steel profile library (based on data from https://github.com/boltsparts/boltsparts/pull/15).

For z-profiles I've created simple 2D curve generation function that can be reused later - it requires list of points and list of points with fillets and the results are list of curve points, segments and IfcIndexedPolyCurve.

Example:

    points, segments, ifc_curve = create_simple_curve_from_coords(coords,
        fillets =     (0,   1,   4, 5, 6,   7,   10, 11),
        fillet_radius=(r+t, r+t, r, r, r+t, r+t, r, r),
        closed=True, ifc_file=ifc_file)
2023-01-05 16:59:47 +11:00
Massimo Fabbro f93d4ff92f Cleaning around in qto_calculator 2023-01-05 16:59:47 +11:00
Andrej730 c129f4f7d8 IFC Stair - added "Wood / Steel" stair type
Added new stair type "Wood / Steel" to IFC Stair modifier. It's less sophisticated than "Concrete" stair type - it acts more like a "Dumb stair" operator we have.
2023-01-05 16:59:47 +11:00
Andrej730 14e954545e IFC Stair - cosmetic adjustments 2023-01-05 16:59:47 +11:00
Massimo Fabbro f87b4a8072 Fix some errors and update notes 2023-01-05 16:59:47 +11:00
Massimo Fabbro d8b0b097e9 Finish mapping Qto_BeamBaseQuantities 2023-01-05 16:59:47 +11:00
Massimo Fabbro 6345daa708 Fix some get_lateral_area function errors 2023-01-05 16:59:47 +11:00
Massimo Fabbro 341eb4dda9 Finish mapping Qto_BeamBaseQuantities 2023-01-05 16:59:47 +11:00
Sigma Dimensions 5f0aa27996 BBIM feature to load nested tasks outputs, and select all nested task outputs 2023-01-05 16:59:47 +11:00
Dion Moult bbc79e7f21 The profile manager now only manages named profiles 2023-01-05 16:59:47 +11:00
Andrej730 112b02c8bb Added "IFC Stair" to object modifiers
1) Added "IFC Stair" to object modifiers - it works in similar way as "IFC Array". It creates a stair from current object (if it's IfcStairFlight) and writes it's parameters to property set "BBIM_Stair" and also to IfcStairFlight parameters.
Then you can edit it - modifying stair parameters and immediately see the changes, then you can save those changes or discard them.
2) "Clever Stair" operator (in Shift+A menu) works a bit different now - it creates new IfcStairFlight with IFC Stair modifier activated.
2023-01-05 16:59:47 +11:00
Dion Moult 74db8db4dd Get cross section area from profile directly rather than mesh parsing 2023-01-05 16:59:47 +11:00
Dion Moult cce0ca600b Distinguish between calculating gross and net surface area 2023-01-05 16:59:47 +11:00
Dion Moult 5e80db500d Elementary fixes to the BCF module just so that things load (but lots are still broken) 2023-01-05 16:59:47 +11:00
Dion Moult 20d8b665d4 Fix issue where sometimes world coordinate system would trigger the georeferencing distance threshold 2023-01-05 16:59:47 +11:00
Massimo Fabbro ada8e1e923 Finish Qto_SlabBaseQuantities quantities (#2567) 2023-01-05 16:59:46 +11:00
Dion Moult 6ce8ad70d6 Fix #2577. Bug where system editing UI appears multiple times. 2023-01-05 16:59:46 +11:00
Andrej730 ca35d75b0d Updated EU, AU steel profiles libraries
1) Updated AU profiles based on more correct data (https://github.com/boltsparts/boltsparts/pull/4) - also added welded i-beam profiles
2) Added inner and outer fillet radius to hollow profiles since this data was added to https://github.com/boltsparts/boltsparts
3) Added more data to ifc profiles that was available on bolts: FilletRadius for I-beams, C-beams; FilletRadius and EdgeRadius for I-beams. Sovles #2556
4) Set names IfcProfileDef names too. Solves #2556
2023-01-05 16:59:46 +11:00
Dion Moult 62e5c3684b Fix #2564. Bug where profiles were not reused across copies. 2022-11-07 22:37:53 +11:00
Dion Moult dadf23681b Fix #2123. Bug where mesh to extrusion conversion didn't work for thin extrusions. 2022-11-07 17:45:05 +11:00
Dion Moult 521ec1b124 Support styles defined somewhere along a boolean result stack 2022-11-07 11:24:13 +11:00
Dion Moult cbd9c898c3 Fix failing tests 2022-11-04 17:08:41 +11:00
Massimo Fabbro f57731a10a Mapping quantities #2533 (#2565)
* Implement some Qto_WallBaseQuantities quantities

* finish Qto_WallBaseQuantities
2022-11-04 08:56:38 +11:00
Dion Moult 0142bface5 You can now edit parameterised profiles again in the material panel 2022-11-04 00:05:09 +11:00
Dion Moult 5acbf4658f Material UI now prompts to add a profile if none exist in your library 2022-11-03 23:44:47 +11:00
Dion Moult 32e00f6d49 Refactor material UI to not depend on IOS API data class 2022-11-03 23:36:16 +11:00
Gorgious56 4e3ce192cc Custom property set attributes now show their description when right clicking the field
+ Add explicit numerical constraint members to attribute class #2562
+ Fix error in numerical value callback #2562
+ Fix error in setting attribute values because of wrong type cast
2022-11-03 09:54:35 +01:00
Gorgious56 841bb59d18 Fix error when the user selects a class suggestion that is not a predefined type 2022-11-03 08:21:55 +01:00
Gorgious56 8dd8a23af9 The predefined type suggestions now fetch their values from the ifcopenshell.util.doc module instead of parsing the file data 2022-11-03 08:16:40 +01:00
Dion Moult adc59de2bf Minor fix to accommodate null descriptions and parents with no attributes
# Conflicts:
#	src/ifcopenshell-python/ifcopenshell/util/doc.py
2022-11-03 17:13:56 +11:00
Gorgious56 20198bccdb Numerical Attribute validation callback (#2562)
* Numerical attributes can now be clamped

* #2545 : IfcMaterialLayer Priority is now clamped between 0 and 100

* Run black
2022-11-03 14:41:47 +11:00
Andrej730 c0909dace0 black.py formatting 2022-11-02 17:35:51 +06:00
Andrej730 bd054d4baf Added more advanced stair generating operator 2022-11-02 17:31:27 +06:00
Dion Moult 35a70a4ae3 Fix #2559. Don't consider door and window styles in IFC4X3. 2022-11-02 17:31:10 +11:00
Dion Moult a1d30d157b Minor fix. 2022-11-02 17:27:18 +11:00
Gorgious 2fa3793622 Selecting an ifc predefined type in addition to the ifc class in the object ifc class selector now correctly assigns it 2022-11-01 17:34:29 +01:00
Dion Moult 2043a629c7 Material profile sets UI cleanup and now lets you choose from a profile in your library instead of creating new profiles on the fly all the time 2022-11-01 23:39:07 +11:00
Dion Moult 6b7ffc8ca6 Merge pull request #2544 from Gorgious56/Tooltips
Blenderbim : Implement tooltips and online docs in the interface
2022-11-01 08:46:51 +11:00
Gorgious 5458f4f9dd Slightly optimise the display of the description popup 2022-10-31 22:22:46 +01:00
Gorgious 0c3269d9e1 Revert "Squashed commit of the following:"
This reverts commit f07cf1d1ef.
2022-10-31 19:53:19 +01:00
Gorgious 84dde4c5c0 Property set templates attributes now show a tooltip on hover 2022-10-31 19:34:59 +01:00
Gorgious 7eefb3f62f Pset nominal values now show their description on right click 2022-10-31 19:09:58 +01:00
Gorgious 90369bf7f7 Directly use predefined type doc function instead of wrapper 2022-10-31 18:10:03 +01:00