Page 1 of 2 12 LastLast
Results 1 to 20 of 27
  1. #1

    [Addon] Boolean 2D Union

    2d_01.png

    This is addon for 2d mesh polygon boolean union.
    I have show what it can do in the image.

    How to install:

    Addons--> Mesh--> Boolean 2D Union

    How to use:

    Mesh edit mode-->w-->Boolean 2D Union


    Enjoy!


    download here:
    boolean_2d_union.zip

    fixed some bugs:
    boolean_2d_union_01.zip
    Last edited by nixy; 02-Jun-14 at 04:38.



  2. #2
    Member Leon Cheung's Avatar
    Join Date
    Dec 2010
    Location
    China
    Posts
    305
    A must-have tool I've ever seen! Thanks for the work! It looks like the famous addon X ALL, but even nicer.



  3. #3
    Member Spirou4D's Avatar
    Join Date
    Jul 2010
    Location
    Lille, France
    Posts
    1,198
    Mixy,

    A great Thanks for your job so usefull: I'm architect!
    Congrats
    Spirou4D
    Words are Images that loosed Light!
    Linux Mint 18.1 Serena Bi-Quad Intel 2.66Ghz x64Bytes - Nvidia OpenGL GT 630 4Go-vram



  4. #4
    Member
    Join Date
    Aug 2010
    Location
    Moon
    Posts
    203
    Yes. This's a good idea to improving blender That If something selected just processing selected objects(elements).
    Each selecting tool should be improved like this.
    Last edited by nirenyang; 02-Jun-14 at 08:05.



  5. #5



  6. #6
    Really great addon ! it has some similarity with the "xall" function of the good tinyCAD VTX addon but has the enormous advantage of not removing the faces, working around the failure of the official booleans when it comes to 2D.

    Thank you very much for it , definitively one of those addons that should be a default functionality



  7. #7
    yep, this stuff should totally be included in the standard distribution, as fast C code -- this is why I'm not writing this kind of scripts anymore. Welldone nixy you will soon make my tinyCAD addon redundant!



  8. #8
    Member Quantum Anomaly's Avatar
    Join Date
    Mar 2007
    Location
    Awesomeland, 日本
    Posts
    891
    Nice add-on! Thank you for contributing this. People who need these sorts of tools really do need them.

    Originally Posted by zeffii View Post
    yep, this stuff should totally be included in the standard distribution, as fast C code -- this is why I'm not writing this kind of scripts anymore. Welldone nixy you will soon make my tinyCAD addon redundant!
    @zeffii: Your tinyCAD add-on is awesome though, and I wish I had known about it sooner.
    Although I guess I would have if it were incorporated into the standard build, as you stated.
    Don't give up on making great add-ons because of this though.

    I recently found out about tinyCAD/EdgeTools, 2D Union, and Dynamic Spacebar because I posted about some frustration I was having with the limitations of the built-in snap tools.

    It's all a community effort. The more people find out about it the more people will use it. The more people use it the more likely it is to become a standard tool. That's one of the reasons why I participate in these discussions.
    Pinch yourself. Nope, you're not dreaming. You have a full featured 3D suite at your fingertips. Now go create something!
    "Oh, you are so much more than just a sheep, aren't you? Look at you, you're an adventurer, Franck!"



  9. #9
    Member
    Join Date
    Jan 2014
    Location
    Dresden
    Posts
    623
    ...yes, anothr create function...
    ...it cut in view direction without overlapping faces...
    2d union.PNG
    (my test / top view)
    ...thx for sharing...
    Last edited by mkbreuer; 02-Jun-14 at 13:17.



  10. #10
    Thank you very much ! I see also a use for geometry



  11. #11
    zeffii, thanks for your encouragement.



  12. #12
    Originally Posted by mkbreuer View Post
    ...yes, anothr create function... ...it cut in view direction without overlapping faces... 2d union.PNG (my test / top view) ...thx for sharing...
    Yes, mkbreuer, you are right. It can work not only for co-planar faces, and can cut in view direction.



  13. #13
    Member nikitron's Avatar
    Join Date
    Aug 2008
    Location
    Fascistic Ukraine
    Posts
    939
    working. delete prints()
    Sverchok
    You can ban me, but cannot ban the Truth of fascism in Ukraine.
    heil bandera evil first second



  14. #14



  15. #15
    Member
    Join Date
    Apr 2014
    Location
    Russia
    Posts
    221
    nixy:

    Would it be possible to extend the addon with Boolean 2D Intersection and Boolean 2D Subtraction?



  16. #16
    Member
    Join Date
    Oct 2010
    Location
    CH
    Posts
    77
    Guys, why don't you just use shapely, the powerful geometry library, for these kind of things? Then we dont need a separate addon whenever somebody tries to solve his own problems. Shapely does union, intersections, offsets. Just use this library and make ONE addon.

    http://www.ia.arch.ethz.ch/shapely-a...e-for-blender/



  17. #17
    Member roofoo's Avatar
    Join Date
    Jan 2004
    Location
    North Carolina, USA
    Posts
    1,464
    Originally Posted by CND View Post
    Then we dont need a separate addon whenever somebody tries to solve his own problems.
    Some people like solving their problems by creating their own solution. It's kind of a learning experience. I know I needed a particular feature that wasn't in Blender, so I just decided to make my own add-on.
    Online Portfolio: eyephoriadesign.com



  18. #18
    Member
    Join Date
    Oct 2010
    Location
    CH
    Posts
    77
    I totally agree that it is a good learning experience. It just might turn off the potential users of those addons if they have to install miriads of them.



  19. #19
    Originally Posted by CND View Post
    I totally agree that it is a good learning experience. It just might turn off the potential users of those addons if they have to install miriads of them.
    Thanks for the link
    Would there be a way to have a crossplatform version of it that doesn't require to install deps that have to be updated on every new version of Python? I find libraries really good, but in that case, wouldn't it be faster and less "manual updating" intensive to include the C part directly into Blender.
    I'm ok with it if you want to maintain that, but most of the time, such niche projects die with the maintainer leaving the project.



  20. #20
    Member
    Join Date
    Oct 2010
    Location
    CH
    Posts
    77
    Below you'll find the build instructions I packed also into the downloads. I just post it here to minimize chance for it to get lost.
    It allows you to build libgeos for your platform and relatively link the binaries to each other. Put them in the DLL folder of shapely. Shapely should support Python3.x now. No need to adapt it yourself: https://pypi.python.org/pypi/Shapely. With these instructions it's not much work to maintain the lib. I can do it. You can help me. (Especially the linux part). Deal?

    EDIT: I can imagine Blender devs not really want to include a geometry library if it's not used by a built in operator. They anyway want to keep the size of Blender as small as possible. That means: Only if libgeos should become more important for several parts of Blender they would integrate it.

    Linux & MacOs:
    จจจจจจจจจจจจจจ
    Install CMake if you haven't. Build libgeos according to their documentation:
    http://trac.osgeo.org/geos/wiki/BuildingOnUnixWithCMake

    __________________________________________________ __________________________________
    Modify the rpath attribute of libgeos_c.dylib/.so in order to link libgeos.dylib/.so
    with a relative path:
    https://blogs.oracle.com/dipol/entry..._rpath_and_mac

    OSX examples:
    install_name_tool -change "/absolute/path/to/your/libgeos.3.4.0dev.dylib" "@loader_path/libgeos.3.4.0dev.dylib" libgeos_c.dylib

    --> this tells libgeos_c.dylib (which can be called from python) where it can find the c++ library "libgeos.3.4.0dev.dylib".
    so you do this with "libstdc++.6.dylib" and "libSystem.B.dylib" too and it should work

    LINUX: replace install_name_tool with chrpath and dylib with so.
    จจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจ จจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจจ

    on a mac: install_name_tool
    on linux: sudo apt-get install chrpath, if you don't already have it


    __________________________________________________ __________________________________


    WINDOWS:
    จจจจจจจจ
    install Visual Studio: follow the libgeos build instructions:
    http://trac.osgeo.org/geos/wiki/Buil...ndowsWithNMake
    (nmake typically is loacated somewhere like C:\Programs(x86)\Visual Studio\VC\bin)

    set your path's: http://jahboite.co.uk/blog/2009/01/p...-var-setx.html

    shapely automatically sets the environment variable on windows from within python
    to include this DLLs directory to its path: no rpath alike steps necessary
    Last edited by CND; 06-Jun-14 at 15:30.



Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •