Drawing the 2D insides via triangles

Discussion in 'AutoCAD' started by acgt, Dec 10, 2005.

  1. acgt

    acgt Guest

    I'm a newbie of CADs, I have used just some raytracing programs long ago
    and Autocad Lite a couple of times.

    Problem: I want to draw the inside perimeter (2D) of a quite irregularly
    shaped house, on a CAD program.

    Here is how I want to do it: I want to take the distances of every
    corner of the rooms to the other corners, until the area of the house is
    completely described by closed triangles. Then I want to draw that lot
    of triangles on a CAD program so that I get the exact shape of the
    house. If I took good measures all triangles should close.

    However, having tried to do the same with autocad lite in the past, I
    must say that it was a total pain in the xxxxx to draw triangles having
    the lengths of the 3 edges! Having the 1st segment, I had to draw 2
    circles, get an intersection, draw the segments from there to the other
    2 points, delete the circles.... for every triangle, with LOTS of mouse
    clicks and switches from mouse to keyboard and vice versa! :-(((

    First, I wanted to ask if there is a better CAD program for this
    purpose, which just lets me enter the 3 lengths and will draw the
    triangle... or select 1 existing point, enter 1 length, select the other
    point, enter second length, easily select which of the 2 possible
    intersections should be taken for 3rd corner, stop.

    If a better CAD program for this doesn't exist, I would ask another
    question: is there a cad program which is able to import a series of
    points from a text file having a format EASY to understand? Because I am
    a programmer and it's rather easy for me to make a program that creates
    the coordinates for the vertices of all the triangles having the edges
    length, but then I should write them to a text file in a format that the
    CAD program is able to read...

    Thanks
     
    acgt, Dec 10, 2005
    #1
  2. acgt

    per.corell Guest

    Hi
    AutoCAD will do just that and programming it is easy --- the most
    important is to start the function that must read the points first, and
    then "ansver" the way the function expect , and there reading an
    external file line by line work just perfect. The 3Dmesh function
    acturly expect a newline between each point and from what I know doing
    it with the tradisioal read-line after opening a file with the "Open"
    function that exist in most computer languages work just fine. AutoCAD
    accept various high level language applications.

    Still I don't understand why you simply don't model the house with
    simple Solids ?

    There are many way's to build a house check this ;
    http://home20.inet.tele.dk/h-3d/
    P.C.
     
    per.corell, Dec 10, 2005
    #2
  3. acgt

    per.corell Guest

    per.corell, Dec 11, 2005
    #3
  4. acgt

    per.corell Guest

    Hi

    clintonG I realise to that to often when I advise I am to much into my
    own thinking -- realy I thought in 3D and didn't realise I was advising
    on an 2D thing -- but about hatches you are quite right. if acgt is
    also trying to find a way to learn CAD he will be much better off with
    your advise esp. as learning CAD speed up when you have a reson and
    just a start point ,and the right not to difficult advises --- guess
    you forget how difficult and how much wrong you can be at the start.

    Now I don't know if it is the right term to talk about nano in bigger
    scale, --- but we are yet to see a method a way to have one-function
    robots to do what you describe. My personal belive is that when they
    start manipulate insects by gens , the perfect nano tool for preparing
    going to mars will be there ; I think so not becaurse I say we shuld do
    so but only becaurse it could be the easiest way to send a self
    producing "robot" to Titan or Mars ; the insects allready have it all ,
    is robust ,can fly, acturly do all the things we maby need to put
    atleast 100 years of develobment into , -- now this is just a thought
    as, "shuld" we even we could control the gen's ?

    Now the 3D-H is just a way to produce a structure in a way so the
    drawings can go strait to the laser or water cutter --- but just that,
    is something that represent a compleatly new way of thinking. Instead
    of putting various materials all asking their own production line
    together in the tradisional way's, then 3D-H replace all the different
    parts with just one material --- this concept could turn out to be a
    much more efficient way to produce things , and as you say why restrict
    it to macro size , Well when you start with CAD you maby think many of
    these things allready found a solution, but fact is that much CAD is
    infact the old systems rewritten into fast code. Generating buildings
    is much more easy in macro size but there are no doubt that even
    producing a building material by finding a system to expand the
    strength or as you say , I guess with a one or two function robot ,
    _that_ is something that could make a great difference , I just can't
    take it further than the 3D-H as when structures get just a bit more
    complicated ,it is allready difficult to emagine what could be the end
    results.
    Now with acgt's questions I see I shuld have said "been there tried
    that" ; you see most people who see just a primitive 3D-H think about
    the same two problems that is infact no problem to solve ; you can cut
    and repair a frame that need to link into several others that is
    acturly quite simple, and frames can be cut the length you want just by
    re-callibrating the laser ,so even a small workplane can produce an
    intire building framework ,just by moving the cutting tool on the
    sheets and the sheets can be bade bigger even a boatsbuilder can do
    that trick, --- but to get it to work in micro scale --- now that realy
    would be a great achivement.

    http://home20.inet.tele.dk/h-3d/
     
    per.corell, Dec 11, 2005
    #4
  5. acgt

    per.corell Guest

    per.corell, Dec 11, 2005
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.