SolveSpace Logo SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

How to reorder groups? (by T N)
How to reorder groups?

Reason: I have realized that an earlier group needs to depend (using constraint) on a later one.

Could it be achieved somehow?
Thu Sep 29 2016, 16:18:37
(no subject) (by whitequark)
No. Even if you could somehow move the group across the stack, that would break all of its constraints, since it doesn't make sense to constrain something in an earlier group to something in a later group.
Thu Sep 29 2016, 21:17:23
(no subject) (by T N)
= First simplified example =

Let's have two groups A and B.

A does not constraint to anything in B.
B does not constraint to anything in A.

After I created these two groups, I have realized that A should constraint to something in B.

Therefore I need to move A after B so I can constraint A to something in B.


= Other use cases =

- To replace group with another, e.g. because of changing workplane. (The newly created group is appended to the end.)
Fri Sep 30 2016, 02:38:52
(no subject) (by whitequark)
A new group is appended after the active group, not at the end, so you can add a new group in the middle of the stack that way.
Fri Sep 30 2016, 14:12:12
(no subject) (by u6006)
I found it's very rare that you can meet the condition that the previous groups have nothing to do with the following ones to do the insertion. IMO, you are done (they're different parts) if they're unrelated.

The workaround that I used is to make a copy of the following groups, delete them, insert new group(s), and copy them back with some tweaks.

I believe you can use my workaround for your case #1. As to your case #2, as whitequark said, I don't think it's doable for now since changing something in-between will break all constraints after that change

Hope this helps
Fri Sep 30 2016, 15:14:57
(no subject) (by T N)
@whitequark: Great:)

@u6006: (Another noob question...) How do you copy multiple groups?

(Currently, I was trying to tweak the `Group.order` property in slvs file using text editor:)
Fri Sep 30 2016, 16:29:19
(no subject) (by u6006)
I just copied the sketches one by one (one per-group), and record the extrusion lengths for redoing them later. It's not ideal but doable (better than redraw the whole thing).
Fri Sep 30 2016, 18:08:35
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2022 SolveSpace contributors. Most recent update June 2 2022.