LDraw.org Discussion Forums
Lsynth(need help) - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html)
+--- Thread: Lsynth(need help) (/thread-1039.html)



Lsynth(need help) - Stan Isachenko - 2011-10-01

I am building 10220 set. Please help me to create belt in engine. I send file with 2 parts where I need belt. I try to do with LSynth, but it took only 1 part and create belt around it.


Re: Lsynth(need help) - Max Martin Richter - 2011-10-01

Hi Stan,
I know this problem very well. So here is a first test-version, created in within 10 minutes. It doesn't look really nice, so I will do a good version today in the evening or monday morning. I hope this is ok for you.

Max


Re: Lsynth(need help) - Stan Isachenko - 2011-10-02

Thank you. I see this preversion. I hope you will improve it. I'm not hurry))


Re: Lsynth(need help) - Max Martin Richter - 2011-10-02

Hi Stan,
I think, that's it. Is it OK for you or should I change something?

Btw. 10220 is a really nice model. I'd build it yesterday. While building it, I had the same idea to made it with CAD Smile But I've no idea how do implement the Curtain and the Orange Cloth for the roof...

So have fun while building!

Max


Re: Lsynth(need help) - Max Martin Richter - 2011-10-02

Hi Stan,
I think, that's it. Is it OK for you or should I change something?

Btw 10220 is a really nice model. I'd build it yesterday and while building, I had the same idea to made it with CAD Smile But I've no idea how do implement the Curtain and the Orange Cloth for the roof...

So have fun while building!

Max


Re: Lsynth(need help) - Stan Isachenko - 2011-10-03

Thank you very much. It looks great.


Re: Lsynth(need help) - Max Martin Richter - 2011-10-03

I'm sitting in a train, so I have some minutes to explain how I did it.
First of all I had created a new line in the LSynth.ini (at the end of the "hose-section")
Code:
0 FILE RUBBER_BAND_HOSE.ldr
0 RUBBER_BAND_HOSE SYNTHESIS DEFINITION
0 Name: RUBBER_BAND_HOSE.ldr
0 Author: Max Martin Richter [MMR1988]
0 Unofficial Model
0 SYNTH BEGIN DEFINE RUBBER_BAND_HOSE HOSE STRETCH 2 40 0
1 0 0 0 0 2 0 0 0 1 0 0 0 2 LS11.dat
1 0 0 0 0 2 0 0 0 1 0 0 0 2 LS11.dat
0 SYNTH END

With this code is it possible to make a rubber by using the the "nomal" Constraints e.g. ' LSynth Constraint Part - Type 4 - "String" ' LS04.dat
The rest should be clear. Attention: the last Constraint must be exactly on the position of the first one, otherwise it won't be a band Wink

One last thing: please change the color to: 324 rubber_red. I used only: 4 red.


Max


Re: Lsynth(need help) - Stan Isachenko - 2011-10-08

One more question to LSynth masters)
Is it possible make this string around Hose Reel more round. I use as example LSynth examples, But there are such problems. It is look like square.


Re: Lsynth(need help) - Philippe Hurbain - 2011-10-08

You can get a bit better result by reducing string stiffness. To do that you need to change string definition in lsynth.mpd (in lsynth/bin folder): change
Code:
0 FILE STRING_HOSE.ldr
0 STRING_HOSE SYNTHESIS DEFINITION
0 Name: STRING_HOSE.ldr
0 Author: Kevin L. Clague
0 Unofficial Model
0 SYNTH BEGIN DEFINE STRING_HOSE HOSE FIXED 2 [b][color=#FF0000]10[/color][/b] 0
1 0 0 0 2 1 0 0 0 0 1 0 -1 0 LS60.dat
1 2 0 0 2 1 0 0 0 0 1 0 -1 0 LS60.dat
1 0 0 0 2 1 0 0 0 0 1 0 -1 0 LS60.dat
0 SYNTH END
to
Code:
0 FILE STRING_HOSE.ldr
0 STRING_HOSE SYNTHESIS DEFINITION
0 Name: STRING_HOSE.ldr
0 Author: Kevin L. Clague
0 Unofficial Model
0 SYNTH BEGIN DEFINE STRING_HOSE HOSE FIXED 2 [b][color=#FF0000]5[/color][/b] 0
1 0 0 0 2 1 0 0 0 0 1 0 -1 0 LS60.dat
1 2 0 0 2 1 0 0 0 0 1 0 -1 0 LS60.dat
1 0 0 0 2 1 0 0 0 0 1 0 -1 0 LS60.dat
0 SYNTH END
Also the position of constraints could be a bit improved (see attached)


Re: Lsynth(need help) - Max Martin Richter - 2011-10-08

Are you modeling the Maersk Container Ship now? Wink

An other way is to use more constraints. For example 8 per round.
But Lsynth can handle a limited number of constraints only. I'd never checked the exactly number. But I know, if there are too much, the program crashes down. Is here anybody who know this number?


Martin


Re: Lsynth(need help) - Roland Dahl - 2014-10-12

Actually I’m creating a string in MLCad/LSynth. Here is a WIP-Screenshot:

[Image: string_e.jpg]

I already manipulated the lsynth.mpd-file as described by Phillippe. But there was more or less no improvement.

As the initial poste was from 2011 I wonder if meanwhile there is a function in LSynth or maybe a better solution which automatically helps to make a string hose less edged? I am thinking of a spline curve, or radius adjustment or anything similar.

The only technique to get the string somehow more flowing/smooth I am actually aware of is to insert tons of constraints. Is there any easier way?

Thanks
Roland


Re: Lsynth(need help) - Gerald Lasser - 2014-10-12

Can you draw a line how it shoud look, i.e. how it is intended to look? ... and the dat fiel with the constraints
Thanks


Re: Lsynth(need help) - Roland Dahl - 2014-10-12

Thanks for your fast response.

Here is the dat-file

The string is dedicated as snowspeeder rope:
[Image: snowspeeder_atat.jpg]

I have highlighted the parts which you will find in the dat-file in yellow:

[Image: Rope_Parts_1.jpg]

[Image: Rope_Parts_2.jpg]

You made me curious! Do you own some magic tools?

regards
roland


Re: Lsynth(need help) - Roland Dahl - 2014-10-14

I finished the project! Approximately 90 constraints were required for getting a satisfying result:

[Image: Snowspeeder_vs_AT-AT_600x450_2.jpg]

High Resoultion Image

However: I am still interested in smarter solutions ....


Re: Lsynth(need help) - Philippe Hurbain - 2014-10-15

Roland D. Wrote:Approximately 90 constraints
Phew :p
Quote:However: I am still interested in smarter solutions ....
Could you share your initial attempt with few constraints? I don't quite understand why increasing stiffness doesn't work well here.


Re: Lsynth(need help) - Roland Dahl - 2014-10-15

Phillipe,
reading your advice from 2011 my brain was somehow disabled. I did exactly what you proposed: I decreased the stiffness value from 10 to 5.

According to your new poste I switched on my brain again: Increasing the stiffness value to 100 leads to an excellent and elegant result by only having 12 constraints!!!!!

[Image: Rope-Stiffness100.jpg]

Thanks for your thought-provoking impulse!


Re: Lsynth(need help) - Philippe Hurbain - 2014-10-15

Yeah, sometimes neurons are useful ;D