Constraint Question

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

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

Constraint Question

Postby Mike Bowers » Tue, Apr 21 2009, 12:04AM

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.

User avatar
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

Postby DanEpps » Tue, Apr 21 2009, 5:33AM

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.

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

Re: Constraint Question

Postby Mike Bowers » Tue, Apr 21 2009, 10:07AM

Thank you Dan, I'll give it the old school try!
We love what we do, we do it well.

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

Re: Constraint Question

Postby Mike Bowers » Tue, Apr 21 2009, 10:57AM

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 2314 times
Med case pt 1.hsf
(156.02 KiB) Downloaded 89 times
We love what we do, we do it well.

User avatar
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

Postby DanEpps » Tue, Apr 21 2009, 11:27AM

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: 572
Joined: Tue, Jan 16 2007, 7:56PM
Company Name: LRG WoodCrafting
Location: Windsor Locks, CT
Contact:

Re: Constraint Question

Postby Leo Graywacz » Tue, Apr 21 2009, 12:01PM

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
256 GB PCIe NVMe - M.2 SSD
Win 7 Pro 64-bit

http://lrgwood.com

User avatar
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

Postby DanEpps » Tue, Apr 21 2009, 2:49PM

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 81 times

Leo Graywacz
Guru Member
Posts: 572
Joined: Tue, Jan 16 2007, 7:56PM
Company Name: LRG WoodCrafting
Location: Windsor Locks, CT
Contact:

Re: Constraint Question

Postby Leo Graywacz » Tue, Apr 21 2009, 3:05PM

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
256 GB PCIe NVMe - M.2 SSD
Win 7 Pro 64-bit

http://lrgwood.com

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

Re: Constraint Question

Postby Mike Bowers » Tue, Apr 21 2009, 3:54PM

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.

User avatar
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

Postby DanEpps » Tue, Apr 21 2009, 4:02PM

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.

User avatar
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

Postby DanEpps » Tue, Apr 21 2009, 4:09PM

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 85 times

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

Re: Constraint Question

Postby Mike Bowers » Tue, Apr 21 2009, 5:22PM

Now I get it Dan, that works like a charm. Thanks again! :beer:
We love what we do, we do it well.

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

Re: Constraint Question

Postby Mike Bowers » Wed, Apr 22 2009, 4:25PM

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

Postby Michael S Murray » Fri, Apr 24 2009, 5:45PM

drawer over door lsh.hsf
(978.02 KiB) Downloaded 78 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 2078 times
Mike Murray
Versatile Cabinet & Solid Surface
mike@versatilecabinet.com
http://www.versatilecabinet.com

User avatar
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

Postby DanEpps » Fri, Apr 24 2009, 7:06PM

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.


Return to “eCabinet Systems Software”

Who is online

Users browsing this forum: Google [Bot] and 12 guests