Commit Graph

8682 Commits

Author SHA1 Message Date
Gorgious56 ac28bbdee1 Fix #3480 : Scene tabs now show their individual description on hover
Also correct minor typo
2024-04-16 10:05:50 +02:00
Andrej730 f6307520e9 Support looped railings #3415
Example - https://imgur.com/a/RaLORbk
2024-04-16 10:05:50 +02:00
Dion Moult 9c5096ea1d Write docs describing how to create profile representations 2024-04-16 10:05:49 +02:00
Dion Moult 5e3b45a591 Fix #3469. Minor regression in linking refactor. 2024-04-16 10:05:49 +02:00
ay-ex e7bd5ca8be fix error messages 2024-04-16 10:05:49 +02:00
ay-ex 2baf07a8ee fix choco_regex
fixes new regex needed for upstream blender cmake adjustment, 
pulls all regex and url into contant variables, 
improves error message, when a version cannot be retrieved
2024-04-16 10:05:49 +02:00
Carlos Dias 5ec1dec6ec Update __init__.py 2024-04-16 10:05:49 +02:00
Carlos Dias 8c7791828e Update handler.py 2024-04-16 10:05:49 +02:00
c4rlosdias e6402e5afc add export bcf to ifctester (2023_07_18) 2024-04-16 10:05:49 +02:00
c4rlosdias d6caf4a6b9 Add bug fixes 2024-04-16 10:05:49 +02:00
c4rlosdias e767db18df Add select entities (2023_07_17) 2024-04-16 10:05:49 +02:00
c4rlosdias 7981f26c57 Update 2023_07_16 2024-04-16 10:05:49 +02:00
c4rlosdias 13295d2abf update ifctester - 2023_07_14 2024-04-16 10:05:49 +02:00
Gorgious 654e884e8e Boolean subpanel is now located in the Geometric Relationships panel 2024-04-16 10:05:49 +02:00
Gorgious56 e440eca988 Show ifc modifiers only when applicable to current element 2024-04-16 10:05:49 +02:00
Gorgious56 660aacd6cc Disable some tab buttons when no ifc file is loaded 2024-04-16 10:05:49 +02:00
Andrej730 b918911e6e Small description for some type templates 2024-04-16 10:05:49 +02:00
Gorgious56 8e2afaae39 Housekeeping - Reorder suggestion dictionary keys alphabetically 2024-04-16 10:05:49 +02:00
Gorgious56 dda47ce24f Refactor edit mode toggle logic for profile based representations 2024-04-16 10:05:49 +02:00
Gorgious56 0b82d129b5 Add ifc modifier utilities to tool.Blender 2024-04-16 10:05:49 +02:00
Andrej730 726c8d833e Fixing railing/roof bug #3416
Issue occured when you imported .ifc and then would try to edit roof/railing path and then cancel/finish editing.

Added safe check to avoid using `change_object_data` in edit mode - https://projects.blender.org/blender/blender/issues/110232
2024-04-16 10:05:49 +02:00
Gorgious56 db64fabf43 Fix bug when using the search operator (F3) with no active object 2024-04-16 10:05:49 +02:00
Dion Moult e0fffbfdfe New geometry.create_2pt_wall API function to create a wall-like representation from two points. 2024-04-16 10:05:49 +02:00
Dion Moult f3c4858d2f Add documentation for basic geometry creation 2024-04-16 10:05:49 +02:00
Dion Moult 7a7c38db5b Rename sverchok representation to mesh representation 2024-04-16 10:05:49 +02:00
Dion Moult 84570a69f8 Utility function to create rotation matrixes in numpy. 2024-04-16 10:05:49 +02:00
Gorgious56 7aab0ccfd7 Fix Ifc modifier error after #3393064 because of legacy context.object
For some reason in the scene properties context.object returns None even if an object is active  in the viewport, so ifc modifiers would randomly throw errors. AFAIK functionally they are supposed to point to the same thing, but active_object seems to be the superior one and context.object deprecated and kept for legacy reasons. Couldn't find dev quote but I'm sure I saw it at some point
2024-04-16 10:05:49 +02:00
Gorgious56 79e67c3f12 Ensure positive extrusion depth
This prevents an error and mesh corruption when trying to input a negative extrusion depth
2024-04-16 10:05:49 +02:00
Dion Moult 139b124ccb Move all modifier panels into Representations and Materials tab. 2024-04-16 10:05:49 +02:00
ay-ex 6ead57abd2 fix choco_update action
fix according to upstream makefile change: 
https://github.com/blender/blender/blob/main/build_files/cmake/Modules/FindPythonLibsUnix.cmake
2024-04-16 10:05:49 +02:00
Andrej730 f01f659fa0 Revision Clouds - option to match revision cloud with the selected object
Works similarly to tagging, example - https://imgur.com/a/Atr0nYE

This feature also can be useful in the future if we integrate revision clouds with ifcgit
2024-04-16 10:05:49 +02:00
Dion Moult 26ee0ca7b7 More tab and panel shuffling. Top level panels now have a tab prefix. 2024-04-16 10:05:49 +02:00
Dion Moult 6929c1a614 Disable Shift-D duplication of drawings for now until drawings stabilise more. Use the dedicated duplicate drawings feature. 2024-04-16 10:05:48 +02:00
Andrej730 0dce32ff4f Fixing bugs on small revision clouds #3310
Bugs were:
1) svg print ZeroDivisionError if there was less than 1 pattern segment
2) svg drawing wasn't preserving edge direction if there was less than 1 pattern segment
2024-04-16 10:05:48 +02:00
Andrej730 06df22e793 Fixed #3441 2024-04-16 10:05:48 +02:00
Dion Moult 85a633cd9a Fix #3449. Fix bug where you couldn't edit the relating type of an annotation. 2024-04-16 10:05:48 +02:00
Dion Moult 91b23ae853 Fix bug where loaded point geometry had unlinked meshes or placements with wrong units. 2024-04-16 10:05:48 +02:00
Dion Moult 1248059f39 Fix #3275. You can now rename annotation types from the annotation manager. 2024-04-16 10:05:48 +02:00
Dion Moult ff3bff13d2 Add support for arbitrary point annotations and survey point, traverse points, control points, spot elevations, etc. 2024-04-16 10:05:48 +02:00
Dion Moult 633ab31544 Fix #3288. Implement undo / redo until specified named transaction. Fix fundamental undo bug where Blender doesn't track the undo UUID property if you toggle edit mode.
This also has the nice side effect of implementing "Jump to point in history" so you can now use the Edit > Undo History menu.
2024-04-16 10:05:48 +02:00
Dion Moult 4926c486c5 More panel shuffling, new Quality and Coordination tab. Geometry is now part of materials. 2024-04-16 10:05:48 +02:00
Dion Moult 88d201ed85 Bulk rename panels to remove redundant IFC prefix 2024-04-16 10:05:48 +02:00
Dion Moult 2c976a4b59 Example of UI if we sentence-cased IFC classes. Good or bad? Please comment at https://community.osarch.org/discussion/comment/16493 2024-04-16 10:05:48 +02:00
Andrej730 73a74c1d66 small fix 90fce1804 2024-04-16 10:05:48 +02:00
Dion Moult 9f091e0a3f New icon tabbed interface so you don't need to click twice to change tab. 2024-04-16 10:05:48 +02:00
Dion Moult 3c2f4cd2f8 DANGER! Potentially fix a bunch of undo bugs by completely rebuilding undo id_map tracking with a much simpler solution.
In the past, we used undo_pre and redo_pre and a bunch of complex commit_link and rollback_link tracking to figure out what IDs and GUIDs were added / removed during transactions and how to handle invalidated objects in the id/guid maps.

I really don't know why I made it that complex.

Now we simply treat all data as bad and rebuild the either map. This means slower undos / redos for large projects, but in theory the maps will never invalidate.

This either fixes a lot of things or breaks a lot of things :) Watch out!
2024-04-16 10:05:48 +02:00
Dion Moult e7d4e3e50d Fix undo bugs in the type module where some operators were not part of the undo system for some reason. 2024-04-16 10:05:48 +02:00
Dion Moult c3c018283b Fix #3275. You can now rename types from the type manager. 2024-04-16 10:05:48 +02:00
Andrej730 d42aa7d8cb root.remove_product fix 2024-04-16 10:05:48 +02:00
Andrej730 a5dedbedbb oops, forgot to clean up the test name 2024-04-16 10:05:48 +02:00