David Kekesi
73b04a7588
code cleanup
2024-10-22 12:38:22 +02:00
David Kekesi
3368e7a6dc
one mesh per material, Mesh::appendFace
2024-10-22 10:34:04 +02:00
kekesidavid
3be1676b1a
Merge pull request #8 from specklesystems/david/cnx-650-create-beam-and-supporting-classes
...
Create beam and supporting classes
2024-10-21 10:04:41 +02:00
David Kekesi
f5b5ff6487
create Beam and supporting classes
2024-10-21 09:41:55 +02:00
Ralph Wessel
f44f0413d0
ColumnSegment move constructor should be noexcept
2024-10-16 17:00:03 +01:00
Ralph Wessel
b80b5aef94
Fixed ColumnSegment copy constructor
2024-10-16 16:44:38 +01:00
Ralph Wessel
702f99eced
Reduced the number of objects that define a name for 'speckle_type' (default to 'Base' instead)
2024-10-16 15:06:06 +01:00
Ralph Wessel
42cf641a01
Merge pull request #7 from specklesystems/david/cnx-150-implement-selectionbinding
...
David/cnx 150 implement selectionbinding
2024-10-16 15:04:58 +01:00
Ralph Wessel
8e80d5ddd5
Merge branch 'develop' into david/cnx-150-implement-selectionbinding
2024-10-16 15:04:07 +01:00
David Kekesi
3813c8740f
SelectionInfo::initialize changed to private
2024-10-16 15:53:59 +02:00
David Kekesi
5c1511e850
code cleanup
2024-10-16 15:50:15 +02:00
David Kekesi
511311eb84
selectionBridge works
2024-10-16 15:08:34 +02:00
Ralph Wessel
ebed71a791
Removed unused static var from SelectionSubscriber
2024-10-16 11:03:38 +01:00
Ralph Wessel
3e7b78e50d
Allow SelectionSubscriber to start/stop outside initialisation phase
2024-10-16 10:31:11 +01:00
Ralph Wessel
2d23eb6b28
Fixes to Column and ColumnSegment classes
2024-10-15 23:05:07 +01:00
Ralph Wessel
ffb9cf0cef
Updated VS projects
2024-10-15 21:12:37 +01:00
Ralph Wessel
e54962e76f
Added Column support:
...
- Column element
- ColumnSegment element
- SegmentedColumn for managing segment retrieval
- Segment/Path interfaces
- Element Part interface
GenericElement now represents all element types with no specific class
Element becomes abstract base for all elements
Added Memo to handle supplementary element data
Added BIMMemory for common BIM memory utilities
BIMElementDatabase adds Memo table support
ArchicadElementDBaseEngine creates GenericElement, Column or ColumnSegment elements
2024-10-15 21:05:57 +01:00
David Kekesi
def9162e4c
added SelectionBridge, SelectionInfo, GetSelection
2024-10-15 17:13:06 +02:00
Ralph Wessel
9c10300f01
Merge pull request #6 from specklesystems/FinishProxies_WIP
...
Finish proxies wip
2024-10-14 16:04:52 +01:00
David Kekesi
902fb0f626
changed ArchicadRGB::write to export ARGB colors instead of RGB
2024-10-14 15:46:12 +02:00
Ralph Wessel
432e5a0b0b
Merge branch 'FinishProxies_WIP' of https://github.com/specklesystems/speckle-cpp-connectors into FinishProxies_WIP
2024-10-14 11:25:32 +01:00
Ralph Wessel
a67361c903
FinishProxy should call base object when (de)serialising
2024-10-14 11:25:09 +01:00
Ralph Wessel
e82698ac3a
Shininess in Modeler::Material is 1-100 scale (NB: looks logarithmic but will resolve on advice from GS)
2024-10-14 11:18:48 +01:00
Ralph Wessel
2fab7da57d
Update FinishProxy to be a BIMRecord, i.e. export speckle_type and applicaiton ID
...
BIMRecord constructor should allow units to be initialised to nullopt
2024-10-14 11:17:17 +01:00
Ralph Wessel
36b95436ae
Finishes have no unit of measurement
2024-10-14 10:13:23 +01:00
Ralph Wessel
24f6a6349a
Capture ID of Modeler::Material in Finish
2024-10-14 10:00:23 +01:00
Ralph Wessel
bd54ae3995
Change JSON tag from "unit" to "units"
2024-10-14 09:50:07 +01:00
Ralph Wessel
7e742796f5
Corrected Mesh speckle_type
...
Mesh constructor failed to set BIM ID
2024-10-13 22:27:59 +01:00
Ralph Wessel
373179fa65
Assigned serialisation type for Str256
...
Linked mesh IDs in finish proxies is a single array
2024-10-13 22:16:52 +01:00
Ralph Wessel
11bfb9333f
Updated VS projects
2024-10-13 21:35:10 +01:00
Ralph Wessel
45c0705a60
#include <ACAPinc.h> prior to other includes
2024-10-13 19:57:01 +01:00
Ralph Wessel
7f4b7112ae
Finishes incorporates all Archicad material properties
...
Serialisation wrapper for Archicad colour rgb colour
2024-10-13 17:49:17 +01:00
Ralph Wessel
05c2cdc47a
Updated VS projects
...
Using Str256 for AC attribute name
WIP - using fixed size for material proxy serialisation count (actual count not known at this point - may need to use something like max size_t)
2024-10-12 09:19:09 +01:00
Ralph Wessel
dbc2c79f2a
Added serilaisation wrapper for 256-byte char array (used for some AC string types)
2024-10-12 09:06:32 +01:00
Ralph Wessel
36e50bb63e
SendObject and SendViaBrowserArgs forward the wrapped object management to the serialiser
...
ProjectCollection defines itself as a serialisation manager (to collect material proxies)
2024-10-11 17:44:41 +01:00
Ralph Wessel
d3492512cd
Update SendObject and SendViaBrowserArgs to use serialisation management (to support collection of material proxies)
2024-10-11 17:19:04 +01:00
Ralph Wessel
65b636accb
Mesh serialisation now directly engages with management to populate material proxies rather than using a "dummy" field
2024-10-11 16:53:42 +01:00
David Kekesi
791e9f072f
finish proxies wip
2024-10-11 17:10:05 +02:00
kekesidavid
68c98abde9
Merge pull request #5 from specklesystems/david/cnx-576-implement-element-getbody
...
David/cnx 576 implement element getbody
2024-10-11 13:20:44 +02:00
Ralph Wessel
a117e327c7
Updated VS project
2024-10-11 11:47:35 +01:00
Ralph Wessel
de46d899b0
Added FinishProxy to collect mesh finishes (to build 'material proxy collection)
2024-10-11 11:45:10 +01:00
David Kekesi
30163bfd9d
export mesh, vertices, faces, colors
2024-10-11 12:44:55 +02:00
Ralph Wessel
21fc2cff25
Added FinishCollector interface as a serialisation manager to collect finishes from meshes as they are serialised
...
ProjectCollection is now a FinishCollector (accumulates the finishes to write the material proxies at the end)
2024-10-11 09:58:26 +01:00
Ralph Wessel
0c74a28982
Fixes to Storey attribute class
2024-10-10 13:45:36 +01:00
Ralph Wessel
cc64d7df44
Added lookup for AC storeys using an element floor index
2024-10-10 13:02:57 +01:00
Ralph Wessel
f7112a407c
Set correct base class for RecordCollection
...
RecordCollection serialises name
2024-10-10 12:12:35 +01:00
Ralph Wessel
7ed4d8c807
Updated VS projects
2024-10-10 10:45:35 +01:00
Ralph Wessel
b5447b263e
NB: Interim commit - new code is untested at this point
...
Information sent to Speckle is now presented in hiearchical collections:
- Root level contains material proxies
- Second level is project storeys
- Third level is element type
Added database and record definitions for attributes including:
- Finishes (surface rendering material)
- Storeys
Element getters for storey and type name
Aligned some speckle_type names to Revit (where possible)
2024-10-10 08:52:18 +01:00
Ralph Wessel
b51b0ecb13
Mesh serialises with speckle_type and units - now appears in 3D view
2024-10-04 22:13:32 +01:00
Ralph Wessel
72cd75d2e6
Added speckle_type and unit properties to Record, BIMRecord, Element and Mesh classes
...
Defined (de)serialisation for LengthType
2024-10-04 21:03:54 +01:00