Constraint Question

Moderators: Jason Susnjara, Larry Epplin, Clint Buechlein, Scott G Vaal

Mike Bowers
Wizard Member
Posts: 1346
Joined: Thu, May 19 2005, 9:45AM
Location: Gulfport, Fl.
Contact:

Constraint Question

Post by Mike Bowers »

Hi Guy's..I have searched for an answer in the archives with no luck, maybe I'm not using the right keywords but I have a cut out for a catch that must be centered on a deck and to be honest, I'm stumped :wall: Any words of wisdom pointing me in the right direction will be greatly appreciated.
Mike
We love what we do, we do it well.
DanEpps
Wizard Member
Posts: 5852
Joined: Thu, Jul 28 2005, 10:18AM
Company Name: Dan Epps
Country: UNITED STATES
Location: Rocky Face GA

Re: Constraint Question

Post by DanEpps »

Try setting the constraint for each side of the cutout to (W/2) - cutout width /2. The "(W/2)" is used as-is (including parentheses) and cutout width /2 you have to calculate yourself.
Mike Bowers
Wizard Member
Posts: 1346
Joined: Thu, May 19 2005, 9:45AM
Location: Gulfport, Fl.
Contact:

Re: Constraint Question

Post by Mike Bowers »

Thank you Dan, I'll give it the old school try!
We love what we do, we do it well.
Mike Bowers
Wizard Member
Posts: 1346
Joined: Thu, May 19 2005, 9:45AM
Location: Gulfport, Fl.
Contact:

Re: Constraint Question

Post by Mike Bowers »

Dan, I can maintain the cut out size but I'm a little confused on the (w/2). Attached is the part of a tour box that I will have varying widths and on the smaller cases they only have one catch, the larger ones have 2 catches in which I have no problem keeping the needed dimension. But the single catch is giving me fits, I must be doing something wrong or I'm a tad rusty.
Stumped in St. Petersburg :D
Attachments
Med case pt 1.jpg
Med case pt 1.jpg (8.76 KiB) Viewed 12966 times
Med case pt 1.hsf
(156.02 KiB) Downloaded 386 times
We love what we do, we do it well.
DanEpps
Wizard Member
Posts: 5852
Joined: Thu, Jul 28 2005, 10:18AM
Company Name: Dan Epps
Country: UNITED STATES
Location: Rocky Face GA

Re: Constraint Question

Post by DanEpps »

W is a variable that eCabinets translates into the width of the cabinet. If you want the cutout to be centered regardless of the cabinet's width, you subtract half of the cutout width from half of the cabinet's width. The parentheses say to perform the operation inside them first.

Thus, (W/2)-X where X = half of the cutout width will keep the center of the cutout on the centerline of the part.

For example, your cutout is 1 inch wide and the width of the cabinet is unknown (can change):

You would add a horizontal constraint on each side of the cutout that is tied to the outside edge of the part.

Then you click the Edit icon, select the dimension of one of the horizontal constraints and enter (exactly as shown here)...

(W/2)-.5

...then press Enter. Repeat for the other side and the cutout will stay in the center when the cabinet width is changed.

Simply substitute half of your actual cutout width for the .5 in this example.
Leo Graywacz
Guru Member
Posts: 640
Joined: Tue, Jan 16 2007, 7:56PM
Company Name: LRG WoodCrafting
Location: Windsor Locks, CT
Contact:

Re: Constraint Question

Post by Leo Graywacz »

Dan, if you add a constraint on either side of the cutout it will not work. You need to have one side free. I fell for that trick many times, not anymore. Use your (w/2)-1/2_cutout_width on either the left or the right side, but not both. :beer:
Dell Precision 7710
Intel Core i7-6820HQ @ 2.70GHz 16.00 GB RAM
NVIDIA Quadro M3000M
512 GB PCIe NVMe - M.2 SSD
Win 7 Pro 64-bit

http://lrgwood.com
DanEpps
Wizard Member
Posts: 5852
Joined: Thu, Jul 28 2005, 10:18AM
Company Name: Dan Epps
Country: UNITED STATES
Location: Rocky Face GA

Re: Constraint Question

Post by DanEpps »

Sure it will Leo. If you don't constrain both sides you have to constrain the width of the cutout. Try this cabinet...change the width and see how the cutout in the back stays centered. It is constrained on both sides.

Genreally speaking, the simpler the combination of constraints that accomplish the desired result, the better. Sometimes you can actually get one constraint that conflicts with another and screws up the results.
Attachments
Constraint Test.hsf
(198.02 KiB) Downloaded 376 times
Leo Graywacz
Guru Member
Posts: 640
Joined: Tue, Jan 16 2007, 7:56PM
Company Name: LRG WoodCrafting
Location: Windsor Locks, CT
Contact:

Re: Constraint Question

Post by Leo Graywacz »

On many occasions I have had constraints on both sides and it would not function. I guess it just doesn't like me sometimes. :wall: :mrgreen:
Dell Precision 7710
Intel Core i7-6820HQ @ 2.70GHz 16.00 GB RAM
NVIDIA Quadro M3000M
512 GB PCIe NVMe - M.2 SSD
Win 7 Pro 64-bit

http://lrgwood.com
Mike Bowers
Wizard Member
Posts: 1346
Joined: Thu, May 19 2005, 9:45AM
Location: Gulfport, Fl.
Contact:

Re: Constraint Question

Post by Mike Bowers »

Dan that did work, thank you. I did have an issue after I brought it back to editor the box got bigger but the deck with the cut stayed the same. It worked fine when I tested it in constraint manager, every thing stayed where it was suppose to be. I'll keep plugging & let you know the result and what I was doing wrong. Thanks again for the advise.
Mike
We love what we do, we do it well.
DanEpps
Wizard Member
Posts: 5852
Joined: Thu, Jul 28 2005, 10:18AM
Company Name: Dan Epps
Country: UNITED STATES
Location: Rocky Face GA

Re: Constraint Question

Post by DanEpps »

Leo Graywacz wrote:On many occasions I have had constraints on both sides and it would not function. I guess it just doesn't like me sometimes. :wall: :mrgreen:
I've had times that I got carried away and placed too many constraints causing one to conflict with another and making it appear that it just didn't work at all.
Mike Bowers wrote:Dan that did work, thank you. I did have an issue after I brought it back to editor the box got bigger but the deck with the cut stayed the same. It worked fine when I tested it in constraint manager, every thing stayed where it was suppose to be. I'll keep plugging & let you know the result and what I was doing wrong. Thanks again for the advise.
Mike
I'll download your cabinet and take a look.
DanEpps
Wizard Member
Posts: 5852
Joined: Thu, Jul 28 2005, 10:18AM
Company Name: Dan Epps
Country: UNITED STATES
Location: Rocky Face GA

Re: Constraint Question

Post by DanEpps »

The orientation of the part requires a vertical constraint, so the formula is (H/2)-1.5. Remove all other constraints except the 1 inch depth of the cutout.
Attachments
Med case pt 1.hsf
(156.02 KiB) Downloaded 377 times
Mike Bowers
Wizard Member
Posts: 1346
Joined: Thu, May 19 2005, 9:45AM
Location: Gulfport, Fl.
Contact:

Re: Constraint Question

Post by Mike Bowers »

Now I get it Dan, that works like a charm. Thanks again! :beer:
We love what we do, we do it well.
Mike Bowers
Wizard Member
Posts: 1346
Joined: Thu, May 19 2005, 9:45AM
Location: Gulfport, Fl.
Contact:

Re: Constraint Question

Post by Mike Bowers »

DanEpps wrote:
Leo Graywacz wrote:On many occasions I have had constraints on both sides and it would not function. I guess it just doesn't like me sometimes. :wall: :mrgreen:
I've had times that I got carried away and placed too many constraints causing one to conflict with another and making it appear that it just didn't work at all.
Mike Bowers wrote:Dan that did work, thank you. I did have an issue after I brought it back to editor the box got bigger but the deck with the cut stayed the same. It worked fine when I tested it in constraint manager, every thing stayed where it was suppose to be. I'll keep plugging & let you know the result and what I was doing wrong. Thanks again for the advise.
Mike
I'll download your cabinet and take a look.
After practicing a few more times and experimenting with different sizes, that was one of my problems. Thanks again.
Mike
We love what we do, we do it well.
Michael S Murray
eCabinets Beta Tester
Posts: 933
Joined: Tue, May 17 2005, 2:48PM
Location: Logansport, In
Contact:

Re: Constraint Question

Post by Michael S Murray »

drawer over door lsh.hsf
(978.02 KiB) Downloaded 369 times
Ok, I admit to never using the constraint manager!!! There I said it.........
I guess I just really have never had a need for it, but now I do. I have a gadzillion cabinets with the same pull on them-standard casework/plam fronts.
I am going to drill the holes for the pulls in the doors and drawer fronts with the router. I think I have the constraints aplied correctly to the doors, that appeared relatively easy, although I havent cut any as of today..
What is the easiest way to constrain the drawer fronts? It will be two 5mm holes spaced 4" apart with the pull being centered left to right and top to bottom
Attachments
drawer over door lsh.jpg
drawer over door lsh.jpg (16.4 KiB) Viewed 12730 times
Mike Murray
Versatile Cabinet & Solid Surface
mike@versatilecabinet.com
http://www.versatilecabinet.com
DanEpps
Wizard Member
Posts: 5852
Joined: Thu, Jul 28 2005, 10:18AM
Company Name: Dan Epps
Country: UNITED STATES
Location: Rocky Face GA

Re: Constraint Question

Post by DanEpps »

Put horizontal constraints on the OUTSIDE ONLY of each hole to the edge of the part using (W/2) - <space between hole centers /2) and vertical constraints on the top AND bottom of each hole using H/2. Place the constraints on the CENTER of the holes.

Caveat: I haven't tested this but it should give you the general idea.
Post Reply