Giter VIP home page Giter VIP logo

blender_cad_utils's Introduction

Blender CAD utils

A tiny subset of unmissable CAD functions for Blender 3d.
Addon page on blender.org/wiki (Which has most of the same info)

OK, what's this all about?

Dedicated CAD software speeds up drafting significantly with functions like: Extend, Trim, Intersect, Fillet /w radius and Offset /w distance. At the moment of this writing many of these functions aren't included by default in regular distributions on Blender.org, so i've coded scripts to perform a few of the main features that I missed most.

My scripts have shortnames: VTX, V2X, XALL, BIX, CCEN and are described separately in sections below. Fillet and Offset are written by zmj100 and can be found here.

VTX

The VTX script has lived in contrib distributions of Blender since 2010, with relatively minor changes. The feedback from BlenderArtists has been overwhelmingly positive. I'm not going to claim it's bug free, but finding any showstopping issues has proven difficult. It now performs V, T or X selection automatically.

Expect full freedom of orientation, but stuff must really intersect within error margins (1.5E-6 = tolerance). These kinds of functions are handy for drawing construction lines and fixing up geometry.

  • V : extending two edges towards their calculated intersection point.
    V

  • T : extending the path of one edge towards another edge.
    T

  • X : two edges intersect, their intersection gets a weld vertex. You now have 4 edges and 5 vertices.
    X

  • Select two edges

  • hit Spacebar and type vtx ..select autoVTX

  • Bam. the rest is taken care of.

X ALL

Intersect all, it programatically goes through all selected edges and slices them all using any found intersections, then welds them.

  • XALL is fast!
    Imgur
  • Select as many edges as you want to intersect.
  • hit spacebar and type xa ..select XALL intersect all edges

V2X (Vertex to Intersection)

This might be a niche accessory, but sometimes all you want is a vertex positioned on the intersection of two edges. Nothing fancy.

EXM (Extend Multiples) -- disabled for the time being

It has two modes.

  • Pick an edge (we'll call this Edge Prime)
  • make sure only one edge is selected
  • Run EXM extend multiple edges from spacebar menu
  • Your picked edge has turned light blue
  • Pick edges to extend towards that edge
  • If edges are picked that don't intersect in 3d space (within tolerance) then those edges are not added
  • Edges that do intersect will be shown in a different colour with the extended part in yet another colour
  • You can unpick edges by clicking on them
  • To finalize the operation:
    - Press Comma to extend the edges using the vertex closest to the intersection point by moving the vertex closest to the edge being extended towards. - Press Period to create a new edge attached to the original geometry.
  • This addon does not weld the extended edges onto Edge Prime.

Imgur

BIX (generate Bisector)

Creates a single edge which is the bisect of two edges.
Imgur

CCEN (Circle Centers)

Given either

  • two adjacent edges on the circumference of an incomplete circle
  • or two vertices (not required to be adjacent)

this operator will places the 3d cursor at original center of that circle.

imgur

updated version may become a modal operator to generate a full set of circle vertices, with variable vertex count.

imgur demo

Trim Multiples

Explained in the issue tracker with moving GIF: issue3

Why on github?

The issue tracker, use it.

  • Let me know if these things are broken in new releases. Why? I don't update Blender as often as some so am oblivious to the slow evolution.
  • If you can make a valid argument for extra functionality and it seems like something I might use or be able to implement for fun, it's going to happen.
  • I'm always open to pull requests (just don't expect instant approval of something massive, we can talk..you can use your gift of persuasion and sharp objectivism)

blender_cad_utils's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.