Add substitute part from context menu


Add substitute part from context menu
#1
some days ago i asked trevor to add this to lpub3d now it will be available on 2.3.12 version of lpub3d



Subject
Add an option when you right click on the PLI "brick" to add Substitute part, with a dialogue to also change color, scale, camara angels etc.
The aim is to automate the following manually entered meta commands:
Code:
0 !LPUB PLI BEGIN SUB 20844c01.dat 15
0 !LPUB PART BEGIN IGN
1 15 -160 -24 20 0 0 1 0 1 0 -1 0 0 powerfunc2distsens-1.ldr
0 !LPUB PLI END
0 !LPUB PART END
[Image: 68747470733a2f2f6170702e6769746b72616b65...3338623362]
Environment
Version of LPub3D - 2.3.12
Operating system - All
Solution
Insert, update or remove part substitution meta commands via the PLI part context menu (right-click) with a dialogue to configure the following:
Primary Arguments:
  • Part type,
  • Part colour,
Extended Arguments:
  • Scale
  • Field of View
  • Camera angle latitude
  • Camera angle longitude
  • Part rotation - Using ROTSTEP arguments
NOTE: Extended Arguments are disabled when LDView 'Single Call' render option is enabled. As this option processes multiple part model files simultaneously (i.e. on a single command call), it is not currently possible to individually apply the extended arguments to each part.
[Image: 59317748-96068880-8cc4-11e9-9df0-bc8c01638309.png]
[Image: 59317749-96068880-8cc4-11e9-8792-ab7bf08fc19c.png]
[Image: 59317750-969f1f00-8cc4-11e9-9cb0-e879ab9e8d80.png]
[Image: 59317751-969f1f00-8cc4-11e9-80df-d95741532479.png]
[Image: 59317754-969f1f00-8cc4-11e9-9706-e8f4379918e1.png]
[Image: 59317755-9737b580-8cc4-11e9-9106-55a0d055aa7e.png]
[Image: 59317757-9737b580-8cc4-11e9-977b-fcf61172e6b7.png]
[Image: 59317758-9737b580-8cc4-11e9-9a5a-48b64b054117.png]
[Image: 59317942-889dce00-8cc5-11e9-90de-18e0232c82c6.png]
[Image: 59317981-b08d3180-8cc5-11e9-96ff-05ec73ca7045.png]
[Image: 59318003-c864b580-8cc5-11e9-8d39-93ca4e17e410.png]
Reply
RE: Add substitute part from context menu
#2
Nice!!! Thanks, Victor - and Trevor!
Reply
RE: Add substitute part from context menu
#3
(2019-06-12, 14:10)Philippe Hurbain Wrote: Nice!!! Thanks, Victor - and Trevor!

OK, this is a very nice feature. When will 2.3.12 be available?

I am waiting for another bug that is fixed ;-)
Jaco van der Molen
lpub.binarybricks.nl
Reply
RE: Add substitute part from context menu
#4
(2019-06-13, 14:36)Jaco van der Molen Wrote: OK, this is a very nice feature. When will 2.3.12 be available?

I am waiting for another bug that is fixed ;-)

i dont know yet.

but looks that next version will have several updates
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)
Forum Jump:


Users browsing this thread: 1 Guest(s)