From 0c650783315066f3e1e6af7967a95c4ee8e5200e Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Sun, 31 May 2026 13:00:12 +0200 Subject: Place two assemblies at the same time It's drawing the box correctly, but some of the constraints seem wonky. I don't think this is correct, but it is sort of working. --- examples/quad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/quad.c b/examples/quad.c index 878fba3..a22e872 100644 --- a/examples/quad.c +++ b/examples/quad.c @@ -17,6 +17,7 @@ void draw_from_constraints(struct constraints *c, struct topology *t, struct can } place_points(&drawing, params); + dump_program(&drawing, params); free(params); reconstruct_drawing(c, assemblies, &assemblies_num); @@ -45,7 +46,6 @@ int main(int argc, char *argv[]) { struct component l4 = {.type = COM_LINE}; add_constraint(&constraints, (struct constraint[]){ - // Make a triangle PP_DISTANCE(&p1, &p2, 10), PP_DISTANCE(&p4, &p1, 20), -- cgit v1.2.3