Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ofn-stroke-fill-paths
#5
(06-23-2018, 05:08 PM)Espermaschine Wrote:
(06-23-2018, 05:00 PM)Ofnuts Wrote:
  • A frequent use case of te script is animations. "Beginning" and "End" refer to the time flow in the animation, which is bottom to top in the layer stack. This is why layers/paths are generated in that order.

I still cant wrap my head around the concept.

So if i want to make 3D text, i start with the base text and then downscale for the perspective extrusion.
Which of the paths is the beginning and which is the end ?

Is the smaller one the beginning, because you build a "house" from the ground up and not down from the roof to the base ?

Another confusing thing about the intermediate paths script is when you call it up for the first time, there is only an option for the end path.
Only when you call it up a second time there will also be an option for the beginning path.
  • The 3D must be generated back-to-front, in other words,"front" is the last layer produced, at the top of the Layers stack.
  • Layers are generated by stroke-fill in the same stack order as the paths, so the "front" path should be the top one.
  • The paths are also generated bottom to top in the path stack, this means that starting from the paths in path-inbetweener, the "begin" path is the one in the back/at the bottom.
  • When one defines a Python plugin where the first argument is a path, this argument is implicitly taken as the active path when the script is called. So if you call path-inbetweener by right-clicking on a path in the Paths lists that path is implicitly the "Begin" one so the one you have to enter is the one for the end/top/front. When you replay the script there is no implicit argument so you are able to enter both paths.
You could be making things harder than they areSmile

TL;DR:
  • bottom=begin=back (mnemonic: the three "B"s)
  • top=end=front

Reply


Messages In This Thread
ofn-stroke-fill-paths - by Ofnuts - 06-23-2018, 09:00 AM
RE: ofn-stroke-fill-paths - by Espermaschine - 06-23-2018, 01:40 PM
RE: ofn-stroke-fill-paths - by Ofnuts - 06-23-2018, 05:00 PM
RE: ofn-stroke-fill-paths - by Espermaschine - 06-23-2018, 05:08 PM
RE: ofn-stroke-fill-paths - by Ofnuts - 06-23-2018, 07:52 PM
RE: ofn-stroke-fill-paths - by Espermaschine - 06-23-2018, 08:08 PM
RE: ofn-stroke-fill-paths - by Ofnuts - 06-23-2018, 09:14 PM
RE: ofn-stroke-fill-paths - by Espermaschine - 06-23-2018, 09:48 PM
RE: ofn-stroke-fill-paths - by Espermaschine - 06-30-2018, 07:15 PM
RE: ofn-stroke-fill-paths - by Ofnuts - 06-30-2018, 07:55 PM
RE: ofn-stroke-fill-paths - by Blighty - 06-30-2018, 08:23 PM
RE: ofn-stroke-fill-paths - by Ofnuts - 06-30-2018, 08:28 PM

Forum Jump: