Bruno Perdigão
bf96c63f7d
moved raycasting functions to Raycasting module
2024-08-11 21:57:16 -03:00
Bruno Perdigão
cef8251458
minor refactors
2024-08-11 21:57:16 -03:00
Bruno Perdigão
547981f32c
Temporary solution for wall generation with polyline
2024-08-11 21:57:16 -03:00
Bruno Perdigão
a3cc0245ca
Started a system to lock on axis
2024-08-11 21:57:16 -03:00
Bruno Perdigão
5d934a2baa
Improvements on how it handles the numbers input
2024-08-11 21:57:16 -03:00
Bruno Perdigão
4409a35441
small fix related to polyline decorator
2024-08-11 21:57:16 -03:00
Bruno Perdigão
f637ef8016
black format
2024-08-11 21:57:16 -03:00
Bruno Perdigão
5e2cefee12
small change on input from keyboard
2024-08-11 21:57:16 -03:00
Bruno Perdigão
67b01dcd0f
black format
2024-08-11 21:57:16 -03:00
Bruno Perdigão
bc0efd7389
Added snaping to polyline points
2024-08-11 21:57:16 -03:00
Bruno Perdigão
4b4e6fa7e2
adds decorator to angle snap axis
2024-08-11 21:57:16 -03:00
Bruno Perdigão
17a0face6e
Now the mouse snaps in angle axis in 30 degree intervals
2024-08-11 21:57:16 -03:00
Bruno Perdigão
a3b2860789
added highlight color to the input panel
2024-08-11 21:57:16 -03:00
Bruno Perdigão
f8f22257b4
fixed backspace for number input
2024-08-11 21:57:16 -03:00
Bruno Perdigão
8284ed0cdb
Fix to allow calculations to work when no point was added yet
2024-08-11 21:57:16 -03:00
Bruno Perdigão
d995e010cf
WIP: calculates x and y based on distance and angle. Accepts negative input
2024-08-11 21:57:16 -03:00
Bruno Perdigão
fcfc070825
WIP: Input panel receives x and y inputs from the keyboard
2024-08-11 21:57:16 -03:00
Bruno Perdigão
55552770a6
Input panel now shows coordinates, distance and angle
2024-08-11 21:57:16 -03:00
Bruno Perdigão
350df4eee5
WIP: Started the input system
2024-08-11 21:57:16 -03:00
Bruno Perdigão
04a273c720
Fixed problem with event type by using event value
2024-08-11 21:57:16 -03:00
Bruno Perdigão
61641acf56
Added 'Backspace' event to remove last polyline point
2024-08-11 21:57:16 -03:00
Bruno Perdigão
10035662dd
Basic polyline implementation
2024-08-11 21:57:16 -03:00
Bruno Perdigão
056df7758b
Improved performance. Objects are first select by their 2d bounding box related to the view. Then, just the objects close to the mouse use ray cast.
2024-08-11 21:57:16 -03:00
Bruno Perdigão
0522adac63
Added simple snap decorator
2024-08-11 21:57:16 -03:00
Bruno Perdigão
1f781e5cab
added mouse offset for raycast
2024-08-11 21:57:16 -03:00
Bruno Perdigão
a30fd7cab4
enabled snaping to ground plane
2024-08-11 21:57:16 -03:00
Bruno Perdigão
94ca2423e9
First implementation. Two types of raycast and basic snaping for faces,
...
edges and edge center.
2024-08-11 21:57:16 -03:00
Ryan Schultz
2938c1fd0b
small tweak to the previous commits
2024-08-11 18:32:07 -05:00
Ryan Schultz
ab8710bd1e
schedule's background fill driven by .ods/xlsx, if it exists.
...
also added `.border` class to default schedule css.
2024-08-11 12:14:55 -05:00
Ryan Schultz
a791abe23e
fixes #4780 : added preference for default location for schedule's css.
...
Also added a `border` class to style the schedule's border with css. That is `fill`, `stroke-width`, and `stroke` are no longer hard-coded.
2024-08-11 11:53:58 -05:00
Chirag Singh
e70122f354
Ran Black Formatting
blenderbim-0.7.11-alpha240811
2024-08-11 10:40:10 +10:00
Chirag Singh
96fdced471
1. Added a Json File having SpectralDB Materials. 2. Implemented UIList: Lists down the materials to be mapped with. 3. By default Not mapped material is white. 4. Added a Drop down for category and Subcategory from where the user can select the material from spectralDB 5. Corrected hardcoded render123.hdr as highlighted by Manu in #5033
2024-08-11 10:40:10 +10:00
Andrej730
1c95f6cc3f
bcf - remove lru_cache in build_viewpoint #4857
...
disabling it as it currently won't allows users to create a different viewpoint for the same IFC element (in the same or other bcf file) and also entity position can change between `build_viewpoint` calls
2024-08-09 19:00:10 +05:00
Andrej730
0f03e412c3
bcf - port 3c17718 to v3
...
According to docs bcf is using meters as their length unit - https://github.com/BuildingSMART/BCF-XML/tree/release_3_0/Documentation
We should create some kind of common code folder to keep this sane...
2024-08-09 19:00:10 +05:00
Thomas Krijnen
6ca3e2a6db
Attempt fix #5168 - Update release.yml
2024-08-09 15:54:41 +02:00
Thomas Krijnen
079446a4b6
Attempt fix #5168 - Update Dockerfile
2024-08-09 15:54:32 +02:00
Andrej730
e706e568bd
bcf - option to provide snapshot filename + save warnings #4453
...
Example warning:
WARNING. Snapshot with viewpoint guid '6aff8c6e-216c-48c9-8120-3101816def3e' won't be saved to bcf. Only snapshot data (VisualizationInfoHandler.snapshot) is provided and snapshot filename (ViewPoint.snapshot) is missing.
2024-08-09 16:42:33 +05:00
Andrej730
526a2a6a80
bcf - return added viewpoint in add_visinfo_handler #4453
2024-08-09 16:42:33 +05:00
Andrej730
3e7a2c1b83
bcf - fix inconsistent return types in add_viewpoint #4887
blenderbim-0.7.11-alpha240809
2024-08-09 15:12:41 +05:00
Andrej730
9bb04d3ffc
small fix for bcf docs
...
bcfxml.get_topic actually returns topichandler, not topic
2024-08-09 14:58:10 +05:00
Andrej730
7c4d45ab32
ci - fix ifcdiff dependencies
2024-08-09 14:29:38 +05:00
Andrej730
dafec70097
black format
2024-08-08 18:13:31 +05:00
Andrej730
eca1d47d06
typing
2024-08-08 18:12:45 +05:00
Andrej730
9671be1734
add a couple poll messages
2024-08-08 18:11:00 +05:00
Andrej730
644f32d11c
Fix errors appending assets when projects are using georeferencing #5110
2024-08-08 18:11:00 +05:00
Andrej730
1626dd85f4
fix opening recent project showing file browser
2024-08-08 15:43:19 +05:00
Andrej730
3c0103b4da
fix issues toggling EDIT mode
...
1) it was throwing errors if object was linked
2) bim.override_mode_set_edit wasn't considering that toggle_edit_mode might not work out and was changing BIMGeometryProperties.mode though it wasn't needed.
2024-08-08 15:12:57 +05:00
Dion Moult
f9c4b6a98f
Improve QTO of segment lengths
...
Previous method uses bounding box which could be wrong if the app (Revit) doesn't extrude in +Z and has a slope (e.g. most pipes). Also Revit tends to use rectangle profiles not for the cross section, but instead for the footprint which is crazy.
blenderbim-0.7.11-alpha240808
2024-08-08 15:13:34 +10:00
Dion Moult
b01e93161e
Use vertex buffer for more efficient centroids
2024-08-08 08:24:12 +10:00
Andrej730
ffbd3e50c5
typing
2024-08-07 20:27:21 +05:00