LIP Samples

All topics about specific development with COM interface, LIP language, API in VB, ...

Moderators: remi77, jacs, Daniel

User avatar
TopSolid2007
Master Chief
Master Chief
Posts: 133
Joined: Thu May 10, 2007 4:28 pm
Location: São Bernardo do Campo - SP
Contact:

LIP Samples

Unread post by TopSolid2007 »

Hi...

Could any one share some lip samples with me? It would be great because I am trying to understand this application...
Fabrice
Private
Private
Posts: 7
Joined: Thu Feb 22, 2007 10:33 am
Location: Toulouse

Unread post by Fabrice »

Hi,

What is your aim in using LIP ?
This langage does not provide so mush capabilities...

Maybe it'll be easier to use COM API...
.oOO[... Fabrice ...]OOo.
ptilu
Private
Private
Posts: 5
Joined: Mon Feb 26, 2007 4:17 pm
Location: French riviera

Unread post by ptilu »

Hi,

COM API isn't complete so you must use a combination of LIP and API for some functions.

Look at viewtopic.php?t=105 for an exemple.
Ptilu
User avatar
TopSolid2007
Master Chief
Master Chief
Posts: 133
Joined: Thu May 10, 2007 4:28 pm
Location: São Bernardo do Campo - SP
Contact:

Unread post by TopSolid2007 »

Hello guys...

I am trying to make a command using LIP or API to make as follow

1. Create a offset curve with 12.5mm distance.
2. Divide the resultant curve in "n" segments
3. Extend all "n" segments the lenght of -30mm
4. Explode this curve
5. Create a circle with 23mm diameter on the begining of each segment.

I need make it several times per day. It would help me a lot if I could do all this operations just in one command.
User avatar
TopSolid2007
Master Chief
Master Chief
Posts: 133
Joined: Thu May 10, 2007 4:28 pm
Location: São Bernardo do Campo - SP
Contact:

Unread post by TopSolid2007 »

Any tips?
User avatar
TopSolid2007
Master Chief
Master Chief
Posts: 133
Joined: Thu May 10, 2007 4:28 pm
Location: São Bernardo do Campo - SP
Contact:

Unread post by TopSolid2007 »

How to execute the lob generated file by toplip?
Pieter
Sergeant
Sergeant
Posts: 59
Joined: Mon Mar 12, 2007 1:39 pm
Location: Brussels, Belgium
Contact:

Unread post by Pieter »

Hallo,

You can also just create a component.
Repeat the first circle, "on curve" in distribute mode, number = (n-1)
Make the curve and "n" driver, and put the circels in the assembly.

Takes 5 min., no need to write a program. :lol:

Regards
Holzknoten
Master Corporal
Master Corporal
Posts: 43
Joined: Fri Apr 29, 2011 7:16 am
TopSolid Module: TopSolid'Wood
TopSolid Version: 6.17
Location: Hannover
Contact:

Unread post by Holzknoten »

a late answer is also a good answer ;-)

to execute a .lob file you need to add a new menu entry in TopSolid.

1. go in your config-path (example: C:\Missler\config)
2. edit or create the file "topext.men" with a text-editor
3. add at the end in the "topext.men" a new menu entry:

Code: Select all

%your menu entry {
4. add your button in your menu entry:

Code: Select all

"your button" #0,11,0,1 = $TOPCONFIG/your path to your .lob/lobfilename ; 
the code "#0,11,0,1" is a icon code.
see viewtopic.php?t=56&highlight=icon

5. add the "close" of your menu entry:

Code: Select all

}
The complete code is:

Code: Select all

%your menu entry {
            "your button" #0,11,0,1 = $TOPCONFIG/your path to your .lob/lobfilename ;
}
Now you have a new menu entry in TopSolid.
Inside this menu entry is one command that start your .lob file.

The same entrys you can make in the left main toolbox
It is only possible to rewrite the complete toolbox:
1. copy the needed .icn from "C:\Missler\V6x\bin" to
"C:\Missler\Konfig\V6x"

Design - design.icn
Draft - draft.icn
Wood - wood.icn
...

2. Edit the copyed .icn . Don't delete original code. Only add your new entrys.
( After an update of TS check the original .icn for changes.)
Post Reply