LDraw.org Discussion Forums
Custom parts/stickers for LEOCad - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: General (https://forums.ldraw.org/forum-12.html)
+--- Forum: Help (https://forums.ldraw.org/forum-13.html)
+--- Thread: Custom parts/stickers for LEOCad (/thread-28235.html)



Custom parts/stickers for LEOCad - Thomas Turgyt - 2024-05-01

Hi, I was wondering how you make custom parts/stickers for your models in LEOCad. I use a Macbook Pro with macOS High Sierra, and I need to make a few specific minifig pieces, stickers, and bionicle-esque masks to make my models actually look presentable. Also, once I have the custom parts how do I add them to the LEOCad library?
LEOCad version is 23.03, macOS version is 10.13.6.
Thanks!


RE: Custom parts/stickers for LEOCad - Willy Tschager - 2024-05-02

Hi,

A tutorial for pattern/stickers can be found here:

https://forums.ldraw.org/thread-27173.html

w.


RE: Custom parts/stickers for LEOCad - Thomas Turgyt - 2024-05-08

(2024-05-02, 10:19)Willy Tschager Wrote: Hi,

A tutorial for pattern/stickers can be found here:

https://forums.ldraw.org/thread-27173.html

w.

Thank you, but where do I find the macOS version of PatternCreator? I think I already have LDPartEditor but it requires some sort of authorization to work. Any suggestions?


RE: Custom parts/stickers for LEOCad - N. W. Perry - 2024-05-09

(2024-05-08, 17:32)Thomas Turgyt Wrote: Thank you, but where do I find the macOS version of PatternCreator? I think I already have LDPartEditor but it requires some sort of authorization to work. Any suggestions?

There isn't a Mac version, but you can run it on the Mac using Wine (perhaps not flawlessly though).

LDPE does work on the Mac, but you have to be sure to open it using the shell script, not by opening the application directly. (Really you just want to open the executable file inside the app bundle, not the app bundle itself.)


RE: Custom parts/stickers for LEOCad - Thomas Turgyt - 2024-05-09

(2024-05-09, 3:08)N. W. Perry Wrote: There isn't a Mac version, but you can run it on the Mac using Wine (perhaps not flawlessly though).

LDPE does work on the Mac, but you have to be sure to open it using the shell script, not by opening the application directly. (Really you just want to open the executable file inside the app bundle, not the app bundle itself.)

As someone who is not a computer master, I am a little confused. I did try downloading Wine and WineBottler, but I then tried to 'make a prefix' or something like that out of the LDPC program and it took me to a browser specifically for Wine? Not sure if that's normal or if I need to do something else. 
On the LDPE front, I looked inside the application bundle and not much was readily apparent as an executable file besides Unix files that took me straight to Terminal, which then took me to the application itself. Here's a picture of the file directory so you can tell me where it might be.
Thanks!    


RE: Custom parts/stickers for LEOCad - N. W. Perry - 2024-05-10

(2024-05-09, 20:11)Thomas Turgyt Wrote: As someone who is not a computer master, I am a little confused. I did try downloading Wine and WineBottler, but I then tried to 'make a prefix' or something like that out of the LDPC program and it took me to a browser specifically for Wine? Not sure if that's normal or if I need to do something else.

I've not used WineBottler, but Crossover does something similar (wants to set up different "bottles" for each app I want to run). But I've not found it necessary; you should be able to double-click the .exe file and it will launch Wine and open up for you. How did you download/install Wine, as that might make a difference?

Quote:On the LDPE front, I looked inside the application bundle and not much was readily apparent as an executable file besides Unix files that took me straight to Command Prompt, which then took me to the application itself. Here's a picture of the file directory so you can tell me where it might be.
Thanks!

It's the one almost in the middle of the screen: MacOS->LDPartEditor (note in the right-hand column it says "Unix Executable"). But when you download LDPE from Nils' site, it comes with a shell script (the .sh file) that will open the executable automatically. To do this, just open Terminal and paste in the command found in the .sh file.


RE: Custom parts/stickers for LEOCad - Thomas Turgyt - 2024-05-10

(2024-05-10, 1:38)N. W. Perry Wrote: I've not used WineBottler, but Crossover does something similar (wants to set up different "bottles" for each app I want to run). But I've not found it necessary; you should be able to double-click the .exe file and it will launch Wine and open up for you. How did you download/install Wine, as that might make a difference?


It's the one almost in the middle of the screen: MacOS->LDPartEditor (note in the right-hand column it says "Unix Executable"). But when you download LDPE from Nils' site, it comes with a shell script (the .sh file) that will open the executable automatically. To do this, just open Terminal and paste in the command found in the .sh file.

I downloaded the Stable dmg file from this url: https://winebottler.kronenberg.org/downloads and manually installed it. It seemed like the official version. I might be able to find Crossover if it would help you help me figure out what to do.
Where do I find Nil's site for the shell script, or what is the command contained within it? Because that might be my problem, since I only tried clicking on the Unix file itself. This took me to Command Prompt where I was at a loss as to what to do.
Thanks!


RE: Custom parts/stickers for LEOCad - N. W. Perry - 2024-05-10

(2024-05-10, 12:16)Thomas Turgyt Wrote: I downloaded the Stable dmg file from this url: https://winebottler.kronenberg.org/downloads and manually installed it. It seemed like the official version. I might be able to find Crossover if it would help you help me figure out what to do.

The official version—without any repackaging—is here and can be installed via Homebrew:
https://wiki.winehq.org/MacOS

I have always had the best luck using the Crossover version of Wine (not the paid version of the Crossover app itself), available here:
https://github.com/Gcenx/winecx

This worked better for 32-bit Windows apps (like pretty much everything for LDraw other than LDCad), but newer releases of official Wine seem to have caught up as well.

Quote:Where do I find Nil's site for the shell script, or what is the command contained within it? Because that might be my problem, since I only tried clicking on the Unix file itself. This took me to Command Prompt where I was at a loss as to what to do.
Thanks!

The download site is here: https://nilsschmidt1337.github.io/ldparteditor/

The command to open the app is simply this:
Code:
/Applications/LDPartEditor.app/Contents/MacOS/LDPartEditor

I have created a self-opening "app" for LDPE using ScriptEditor. The script is this, and I save it as an app called LDPartEditorOpen.app:
Code:
tell application "Terminal"
    do script "/Applications/LDPartEditor.app/Contents/MacOS/LDPartEditor"
end tell