Expressions

Integrated solution for design, manufacturing and management that provides all standard parts and procedures for wood processing.

Moderators: remi77, jacs, Daniel

RaudMees
Second Officer Cadet
Second Officer Cadet
Posts: 209
Joined: Wed Dec 30, 2015 11:25 am
Answers: 3
TopSolid Module: TopSolid'Wood
TopSolid Version: 6.20
Contact:

Expressions

Unread post by RaudMees »

Hello ppl.

I am stucked in with creating expressions. I have some samples with this, but how to create new and a bit different, then I don't know. I read help files and checked some explainings from PDF document what I have, but there is only one page for this. It looks like a programming language, but which one or is it mixed?
Common tasks are with connectors and another furniture fittings (1 screw or more in one line, 2 or 3 columns, holes positioning etc) . Near future I have to create drawer set where engineer can choose from 1 up to 12 drawers.
I am very happy if I get some help, bad thing is my math was at school below average, but I can still read and learn.

Thx! :)
Meelis
Last edited by RaudMees on Tue Mar 08, 2016 8:03 am, edited 1 time in total.
User avatar
Todd
First Officer Cadet
First Officer Cadet
Posts: 246
Joined: Mon Nov 10, 2014 9:28 pm
Answers: 3
TopSolid Module: TopSolid'Wood
TopSolid Version: 6.24
Location: Detroit, MI

Re: Expressions

Unread post by Todd »

your going to have be more clear on what your exact question is
Todd Craig
Great Lakes Woodworking
tcraig@glwdetroit.com
RaudMees
Second Officer Cadet
Second Officer Cadet
Posts: 209
Joined: Wed Dec 30, 2015 11:25 am
Answers: 3
TopSolid Module: TopSolid'Wood
TopSolid Version: 6.20
Contact:

Re: Expressions

Unread post by RaudMees »

One exact is:
first hole from front 37mm, second hole from back min 30mm, but distance must be /32mm <- when unit depth 580mm or less.
first hole from front 37mm, second hole from first hole 448mm <- when unit depth is more than 580mm.

Another:
drawer runner length 550mm. when unit depth is less than 580mm, then holes are from first hole 192/352mm. When unit depth is over 580mm, then holes from first hole 192/448mm.

I know they are simple, but not for me. I like to understand how is it works and maybe I can create them later myself.

Meelis
User avatar
Todd
First Officer Cadet
First Officer Cadet
Posts: 246
Joined: Mon Nov 10, 2014 9:28 pm
Answers: 3
TopSolid Module: TopSolid'Wood
TopSolid Version: 6.24
Location: Detroit, MI

Re: Expressions

Unread post by Todd »

Look at Tabulated values for this it is easier than formulas and your going to want to work them all from the front edge or back edge not alternating

The TABULATED PARAMETER option allows to create a parameter with values that depend on another parameter. This avoids using nested instructions with the WHEN operators, as shown below:

The values of nb depend on the parameter L:

- if L <= 500mm, then nb = 2

- if 500mm < L <= 1,000, then nb = 4

- if 1000mm < L <= 1,500, then nb = 5

- if L <= 1,500mm, then nb = 6
Todd Craig
Great Lakes Woodworking
tcraig@glwdetroit.com
RaudMees
Second Officer Cadet
Second Officer Cadet
Posts: 209
Joined: Wed Dec 30, 2015 11:25 am
Answers: 3
TopSolid Module: TopSolid'Wood
TopSolid Version: 6.20
Contact:

Re: Expressions

Unread post by RaudMees »

Yes, I know tabulated values, but with them drilling distance between holes is not divided by 32mm. Otherwise it's a simple solution and with hinges or shelves very good.
User avatar
Todd
First Officer Cadet
First Officer Cadet
Posts: 246
Joined: Mon Nov 10, 2014 9:28 pm
Answers: 3
TopSolid Module: TopSolid'Wood
TopSolid Version: 6.24
Location: Detroit, MI

Re: Expressions

Unread post by Todd »

example of how when function works with paramaters

when(depth<580mm,distance/32mm,448mm)
Todd Craig
Great Lakes Woodworking
tcraig@glwdetroit.com
Post Reply