summaryrefslogtreecommitdiff
path: root/inc/cad/solve.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/solve.h
parent57ad11effae4e9562253d1fcf38469bd3d5ae69c (diff)
Almost assemblies
Diffstat (limited to 'inc/cad/solve.h')
-rw-r--r--inc/cad/solve.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/inc/cad/solve.h b/inc/cad/solve.h
index a4fc42f..9a0c56d 100644
--- a/inc/cad/solve.h
+++ b/inc/cad/solve.h
@@ -9,6 +9,8 @@ enum component_type {
COM_LINE,
};
+struct subassembly;
+
struct component {
enum component_type type;
@@ -22,6 +24,8 @@ struct component {
bool drawn;
bool fixed;
+ struct subassembly* in;
+ struct subassembly* ein;
};
struct alias {
@@ -112,6 +116,9 @@ struct subassembly {
struct element **articulation_position;
size_t articulation_num;
+ struct command *first_command;
+ struct command *last_command;
+
bool fixed;
};