Deformed pattern

Post questions on how to use or achieve an effect in Inkscape.
chrisjj
Posts: 153
Joined: Thu Jan 17, 2013 10:45 am

Deformed pattern

Postby chrisjj » Sun Dec 22, 2013 12:58 am

Any ideas on how to efficiently draw this surface pattern?
Image
I recognise Inkscape doesn't have free-form mesh deformation, but perhaps there's something near that I have missed.

I considered Envelope Deformation:

Image

but can see no way to tile constructed grids (so that I can deform within the pattern rather than just at the edge) nor to chequerboard-colour the grid such that the colouring tracks deformation edits.


Thanks.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Deformed pattern

Postby Lazur » Sun Dec 22, 2013 1:37 am

For a vector solution:
model each square of one of the colours of the pattern as a face in blender, export as obj,
then add it to inkscape\share\extensions\poly3Dobjects folder and render it with the 3D polyhedrons extension,
and colour each path with the right colour.

Non-vector solutions:
create the pattern as a raster image and clip it.

Can use blender similarly with the vector solution, if you render the scene,
or you can use filterforge's trial version.
There may be many other ways too.

chrisjj
Posts: 153
Joined: Thu Jan 17, 2013 10:45 am

Re: Deformed pattern

Postby chrisjj » Sun Dec 22, 2013 3:00 am

Lazur URH wrote:For a vector solution:


That's the one I want :)

Lazur URH wrote:model each square of one of the colours of the pattern as a face in blender, export as obj,
then add it to inkscape\share\extensions\poly3Dobjects folder and render it with the 3D polyhedrons extension,
and colour each path with the right colour.


Can you explain where in that I get to do the deformations?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Deformed pattern

Postby Lazur » Sun Dec 22, 2013 3:16 am

Draw a plane, subdivide it many times, delete every second face, then
move some of the edges in edit mode -use the lasso tool (Ctrl+left mouse button hold while moving the cursor around), or the loop select (Alt+right mouse button Click) and maybe switch the view to outlines only (Z),
then select all the faces (A) and press smooth a few times.

You can also try to deform a model with less faces and use modifiers on it -subdivision surface, mesh deform and such.
It's all too intuitive to me how to create an exact mach, but similar ones can be achieved.

Hmm maybe you can also try to draw one of the edges, duplicate (Shift+D), move them to be the other edge of the future object, and use the looptool addon's bridge option, then the loopcut and slide option to divide the faces.

chrisjj
Posts: 153
Joined: Thu Jan 17, 2013 10:45 am

Re: Deformed pattern

Postby chrisjj » Sun Dec 22, 2013 9:29 am

Lazur URH wrote:Draw a plane, subdivide it many times, delete every second face, then
move some of the edges in edit mode -use the lasso tool (Ctrl+left mouse button hold while moving the cursor around), or the loop select (Alt+right mouse button Click) and maybe switch the view to outlines only (Z),
then select all the faces (A) and press smooth a few times.


An alternative to 3D polyhedron?

Lazur URH wrote:You can also try to deform a model with less faces and use modifiers on it -subdivision surface, mesh deform and such.


Thanks, but I can't find a mesh deform facility. Just envelope deform.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Deformed pattern

Postby Lazur » Mon Dec 23, 2013 1:08 am

It is a more blender based solution.
The mesh deform modifier is inside blender.

Here is a quick and dirty example, with only subdivide and smooth vertex options used:
https://dl.dropbox.com/s/ft5zbzepiy38tl5/hlp105.blend
https://dl.dropbox.com/s/c9uhiveuvi9r506/hlp105.obj
[svg]https://dl.dropbox.com/s/bjjvbtszbhccpaf/hlp105.svg[ /svg]

Edit: Oh noes it's one of those files that I have accidentally written over. Hard to track up this "hlp" series, when the originals are stored random.

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Deformed pattern

Postby tylerdurden » Tue Dec 24, 2013 4:57 am

Another fast/dirty is to export a checker pattern and modify in GIMP (whirl, skew), import modified png and embellish.
SVG Image
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Deformed pattern

Postby Lazur » Sun Feb 09, 2014 1:04 pm

Now taking a better look at the lpe section of the manual, the interpolate subpaths may work too, to make more adjustments than the envelope deformation can give.
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Paths-LivePathEffects-InterpolateSubPaths.html

After creating the "horizontal" and "vertical subpaths as lpe-s, they being converted to strokes, all combined together,
and every second endnode connected can make a checkerboard pattern.

Quick example svg:

SVG Image

Sorry about the previous post being changed, it wasn't intentional. Accidentally uploaded other svg to that dropbox, with the same name and it got replaced; will have to manage such files sometime.

chrisjj
Posts: 153
Joined: Thu Jan 17, 2013 10:45 am

Re: Deformed pattern

Postby chrisjj » Mon Feb 10, 2014 11:23 pm

Thanks Lazur. BTW, the graphics in all the answers show broken, here. The graphics in the question are OK.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Deformed pattern

Postby Lazur » Tue Feb 11, 2014 1:47 am

Here is that latest attached:
hlp117.svg
(18.35 KiB) Downloaded 312 times

chrisjj
Posts: 153
Joined: Thu Jan 17, 2013 10:45 am

Re: Deformed pattern

Postby chrisjj » Tue Feb 11, 2014 2:08 am

Thanks.


Return to “Help with using Inkscape”