Note that there are some explanatory texts on larger screens.

plurals
  1. POcalculating coordinate points with VB.net
    primarykey
    data
    text
    <p>I am trying to build a coordinates system but am having trouble with how to..</p> <p>What I have sofar is a textbox that allows the user to enter a length. This length is user defined but never smaller then 610 in length since this is the minimum unit size we use to build timber frames. The overall length of a timber frame is infinite (well not really, but it is for what I want) the timber frame has beams every 610mm set apart from each other (this is a legal requirement) so I want my vb.net to set coordinates for each beam at intervals of 610 then write that coordinates system to a text based *.SCR file</p> <p>AutoCAD uses the script file to automate drawing procedures to draw a beam of 180mm x 50mmx 50mm </p> <pre><code>BOX…. This emplys the AutoCAD tool needed for uses 0,0,0…This emplys a starting or base point 180,50,50…this is the end point that completes the beam </code></pre> <p>As you can see the script is very basic lets say I want a frame and in my textbox I type 1260 I know that my beams would look like the following in the script</p> <pre><code>Box 0,0,0 180,50,50 Box 0,660,0 180,660,50 Box 0,710,0 180,760,50 Box 0,810,0 180,860,0 Box 0,910,0 180,960,50 Box 0,1110,0 180,1160,50 Box 0,1210,0 180,1260,50 </code></pre> <p>I need to build a new reference point each time from building of the previous, all these coordinates need to be worked out in VB.net and then recorded to the text based *scr file</p> <p>How can I achieve this? I was pointedout towards the direction of arrays but doubt that???</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload