RE: Making stickers from scratch
2023-03-29, 14:45 (This post was last modified: 2023-03-29, 14:51 by Willy Tschager.)
2023-03-29, 14:45 (This post was last modified: 2023-03-29, 14:51 by Willy Tschager.)
(2023-03-28, 21:12)Paweł Turalski Wrote: Extra question: I see the quad works like added the 'surface', in Pattern Creator made from trangles, here quadrangle. Editing the pattern. So, excepting the background image, is it technically possible to make a full sticker using only Part Editor?
You can even load a background image into LDPE but you would miss a lot of things:
* No transparency unless you use trans colors during authoring
* Splines
* Detect overlap
...
and your 2D view, say from top, cannot be locked and as soon as you rotate your working plane things get messy
Time to make the thin box required for stickers:
https://www.ldraw.org/article/512.html#sticker_geo
* Click Move the Manipulator to Origin - in the 3D Editor
* Select -> All - in the 3D Editor
* Actions -> Set X/Y/Z - in the 3D Editor
* Tick Y in the dialog and enter -0.25 - The entire pattern will be rosen by 0.25 LDU. All Y values in the Text Editor should be -.25
* Select the three black prims in the corners - in the 3D Editor
* Copy and past - in the 3D editor
* The copies will pop up at the bottom of the Text Editor and the "Problems" pane will complain
* Change all three prims to 1-4cyli.dat
* Change their hight from 1 LDU to 0.25 LDU by working on the Matrix. Note that there is no difference between 0.25 and .25. Your final code looks like this:
1 0 17.5 -.25 -17.5 1.5 0 0 0 .25 0 0 0 -1.5 1-4cyli.dat
1 0 -17.5 -.25 17.5 -1.5 0 0 0 .25 0 0 0 1.5 1-4cyli.dat
1 0 -17.5 -.25 -17.5 -1.5 0 0 0 .25 0 0 0 -1.5 1-4cyli.dat
* Cut the ndis.dat from the top of the Text Editor
1 16 17.5 -.25 17.5 1.5 0 0 0 1 0 0 0 1.5 1-4ndis.dat
and insert it at the bottom.
* You have to do some copy and past and editing the matrix 'til you get these two prims:
1 16 17.5 -.25 17.5 1.5 0 0 0 0.25 0 0 0 1.5 1-4cyli.dat
1 16 17.5 0 17.5 1.5 0 0 0 -1 0 0 0 1.5 1-4chrd.dat
Play with the values and understand what you have done.
* Select these two lines in the Text Editor
* Click Inline selection recursively (partial BFC confomity, no comments, no whitespace) - your two prims become this:
0 // Inlined: 1 16 17.5 -.25 17.5 1.5 0 0 0 0.25 0 0 0 1.5 1-4cyli.dat
4 16 19 0 17.5 18.88585 0 18.07405 18.88585 -.25 18.07405 19 -.25 17.5
5 24 19 -.25 17.5 19 0 17.5 18.88585 -.25 18.07405 19 -.25 16
4 16 18.88585 0 18.07405 18.56065 0 18.56065 18.56065 -.25 18.56065 18.88585 -.25 18.07405
5 24 18.88585 -.25 18.07405 18.88585 0 18.07405 18.56065 -.25 18.56065 19 -.25 17.5
4 16 18.56065 0 18.56065 18.07405 0 18.88585 18.07405 -.25 18.88585 18.56065 -.25 18.56065
5 24 18.56065 -.25 18.56065 18.56065 0 18.56065 18.07405 -.25 18.88585 18.88585 -.25 18.07405
4 16 18.07405 0 18.88585 17.5 0 19 17.5 -.25 19 18.07405 -.25 18.88585
5 24 18.07405 -.25 18.88585 18.07405 0 18.88585 17.5 -.25 19 18.56065 -.25 18.56065
5 24 17.5 -.25 19 17.5 0 19 18.07405 -.25 18.88585 16 -.25 19
0 // Inlined: 1 16 17.5 0 17.5 1.5 0 0 0 -1 0 0 0 1.5 1-4chrd.dat
4 16 18.88585 0 18.07405 19 0 17.5 17.5 0 19 18.07405 0 18.88585
3 16 18.07405 0 18.88585 18.56065 0 18.56065 18.88585 0 18.07405
Screenshot
LEGO ergo sum