summaryrefslogtreecommitdiff
path: root/inc/cad/construction.h
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2026-04-12 23:19:45 +0200
committerJesper Jensen <jesper@jnsn.dev>2026-04-12 23:19:45 +0200
commit9688f8f0f685bb93e9d74e7d5e74eeb1939b94aa (patch)
tree7a09b169e6cd3bf10240b03aa7b49d38cfae39fb /inc/cad/construction.h
parent57ad11effae4e9562253d1fcf38469bd3d5ae69c (diff)
Almost assemblies
Diffstat (limited to 'inc/cad/construction.h')
-rw-r--r--inc/cad/construction.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/inc/cad/construction.h b/inc/cad/construction.h
index ef36421..71add62 100644
--- a/inc/cad/construction.h
+++ b/inc/cad/construction.h
@@ -18,6 +18,9 @@ enum operation {
// cases
CMD_LINE_CIRCLE_CIRCLE_TANGENT,
CMD_LINE_LINE_DISTANCE_PARALLEL,
+
+ // Handle assemblies
+ CMD_IMPORT_POINT_LINE,
};
struct point {
@@ -61,6 +64,11 @@ struct command {
size_t index;
bool dir;
+ // Only used for import
+ struct subassembly *d;
+ struct element *attachp;
+ struct element *attachl;
+
struct element *arg1;
struct element *arg2;
struct element *arg3;