<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by gaganjyot on Medium]]></title>
        <description><![CDATA[Stories by gaganjyot on Medium]]></description>
        <link>https://medium.com/@gaganjyot?source=rss-705e0d99519e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*9A4l1EqMAYDu1T1Q.jpg</url>
            <title>Stories by gaganjyot on Medium</title>
            <link>https://medium.com/@gaganjyot?source=rss-705e0d99519e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 21:37:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gaganjyot/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[LibreCAD v3]]></title>
            <link>https://medium.com/@gaganjyot/librecad-v3-b7505883a975?source=rss-705e0d99519e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7505883a975</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[cad]]></category>
            <category><![CDATA[librecad]]></category>
            <dc:creator><![CDATA[gaganjyot]]></dc:creator>
            <pubDate>Tue, 15 Mar 2016 10:29:22 GMT</pubDate>
            <atom:updated>2016-03-15T10:29:22.825Z</atom:updated>
            <content:encoded><![CDATA[<h4>Development.</h4><p>GSoC 2014, I got chance to work for a pure CAD software. The LibreCAD. LibreCAD had a plan for a version 3 and the creator of LibreCAD had some code which he created 2 years ago for the V3 development. I begun working on the code. My first priority was to develop, polish and enhance the 2D kernel.</p><p>Looking towards the LibreCAD, the Code is kept pretty modularized so that the user can have choice. For example the LCviewerNoQt contains the code for rendering the drawings on the screen. At the moment the functionality is moved from Qt to Cairo but in future, the user may have an option to choose between Qt, Cairo or may be OpenGL too. This modularity is also designed keeping in mind the extensibility and usability of code. The LCKernel is a robust 2D kernel being developed at the moment. So it can be used in any other software which may require such functionalities ( transformations, Intersections etc). LibreCADv3 currently uses Lua as its scripting language, which is pretty finalized. The modularity code allows the developers to add their favorite scripting languages, may be python, ruby or any preferred. The design principles of the LibreCAD v3 include the immutable concept. Every entity in the kernel is assigned with an ID at the time of creation. Whenever a transformation is to be processed on entity such as a move or rotate operation, the new data ( Coordinates, Radius, start/end angles ) etc are calculated and a new entity is created at the Coordinates calculated with the same ID and the older entity object is deleted.</p><p>LibreCAD v3 at the moment has</p><ul><li>The Move, Copy, Rotate and Scale operations for all the entities.</li><li>Point, Line, Circle, Ellipse, Text, MText, Dimensions, Spline ( Kernel part only )</li><li>Intersection pattern</li><li>Robust equation solvers for quadratic, Cubic as well as Quartic equations.</li></ul><p>While coding with the LibreCAD V3, I shared it with a group of my friends and the played a bit with the Lua scripting and designed marvelous designs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*Vjy0BH_RvupJ_knn.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*uvs7H4J_tx4AnaBD.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*WtNTz2mlZUOjK5VL.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*Iru0_bO6KVQc1tQI.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*lrJslWQJoMefcmAs.png" /></figure><p><a href="https://gurpindersingh751.wordpress.com/2014/06/10/10-june-2014/">https://gurpindersingh751.wordpress.com/2014/06/10/10-june-2014/</a></p><p><a href="https://gurpindersingh751.wordpress.com/2014/06/08/8-june-2014/">https://gurpindersingh751.wordpress.com/2014/06/08/8-june-2014/</a></p><p><a href="https://navdeepsaini48.wordpress.com/2014/06/08/taijitu-code-for-libre-cadv3/">https://navdeepsaini48.wordpress.com/2014/06/08/taijitu-code-for-libre-cadv3/</a></p><p><a href="http://jagmeet787.wordpress.com/2014/06/08/8-june-2014/">http://jagmeet787.wordpress.com/2014/06/08/8-june-2014/</a></p><p><a href="http://jagmeet787.wordpress.com/2014/06/07/7-june-2014/">http://jagmeet787.wordpress.com/2014/06/07/7-june-2014/</a></p><p><a href="http://darshpreets.files.wordpress.com/2014/06/storm.png">http://darshpreets.files.wordpress.com/2014/06/storm.png</a></p><p><a href="http://234satwant.wordpress.com/2014/06/10/logos-using-lua/">http://234satwant.wordpress.com/2014/06/10/logos-using-lua/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7505883a975" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LibreDWG installation on Linux]]></title>
            <link>https://medium.com/@gaganjyot/libredwg-installation-on-linux-f31cf9a2fdff?source=rss-705e0d99519e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f31cf9a2fdff</guid>
            <category><![CDATA[foss]]></category>
            <category><![CDATA[libredwg]]></category>
            <category><![CDATA[dwg]]></category>
            <dc:creator><![CDATA[gaganjyot]]></dc:creator>
            <pubDate>Tue, 15 Mar 2016 10:13:17 GMT</pubDate>
            <atom:updated>2016-03-15T10:13:17.407Z</atom:updated>
            <content:encoded><![CDATA[<p>GNU LibreDWG is a free C library to handle DWG files. It aims to be a free replacement for the OpenDWG libraries. DWG is the native file format of AutoCAD. GNU LibreDWG is based on LibDWG, originally written by Felipe Castro.</p><h4>Requirements :-</h4><pre>git, autoconf, gcc, libtool, swig2.0, python-dev, texinfo, build-essentials</pre><h4>Installation:-</h4><h4>For debian based distros ( like ubuntu ) :-</h4><pre>$ sudo apt-get install git autoconf libtool swig python-dev texinfo build-essential gcc</pre><p>#this will check if all dependencies are present other wise will download required ones.</p><h4>Now clone LibreDWG using git :-</h4><pre>git clone git://git.sv.gnu.org/libredwg.git</pre><h4>Now change dir to libredwg folder created by git ( cd libredwg ) and issue following commands in terminal :-</h4><pre>$ sh autogen.sh <br>$ ./configure --enable-trace # (this will enable debugging messages) <br>$ make <br>$ sudo make install <br>$ make check</pre><p>This will install LibreDWG on your system.</p><h4>Testing:-</h4><p>LibreDWG comes with several examples (under the examples folder) that can be used for testing purposes. The most advanced example is testSVG.</p><pre>export LIBREDWG_TRACE=3 cd examples ./testSVG yourdwgfile.dwg &gt; yourconverteddwgfile.svg</pre><p>This will output a svg format file, containing the dwg data. Note that SVG doesn’t support 3D entities.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f31cf9a2fdff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BRL-CAD Nut-Bolts forming extension]]></title>
            <link>https://medium.com/@gaganjyot/brl-cad-nut-bolts-forming-extension-4c81b7a9bf11?source=rss-705e0d99519e------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c81b7a9bf11</guid>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[cad]]></category>
            <category><![CDATA[foss]]></category>
            <dc:creator><![CDATA[gaganjyot]]></dc:creator>
            <pubDate>Tue, 15 Mar 2016 10:08:39 GMT</pubDate>
            <atom:updated>2016-03-15T10:08:39.636Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="http://brlcad.org/">BRL-CAD</a> is a powerful cross-platform open source solid modeling system that includes interactive geometry editing, high-performance ray-tracing for rendering and geometric analysis.</p><p><a href="http://brlcad.org/">BRL-CAD homepage</a></p><p>For creating nuts and bolts , creating threads becomes a messy work , and even programs like AutoCAD barely support this function. So the hex extension for BRL-CAD can do the work for you.</p><h4>Requirements :-</h4><pre>BRL-CAD ( <a href="http://www.brlcad.org/">http://www.brlcad.org</a> )</pre><pre>hex.c file ( <a href="http://ronja.twibright.com/3d/lib/hex.c">http://ronja.twibright.com/3d/lib/hex.c</a> ) </pre><pre>basic knowledge of Linux commands</pre><h4>Making it to Work :-</h4><p>First download <a href="http://ronja.twibright.com/3d/lib/hex.c">hex.c</a>, then run the following commands at the command line:</p><pre>$ cc -o hex hex.c -lm <br>su<br># cp hex /usr/bin <br># ln -s /usr/bin/hex /usr/bin/hexbolt<br># ln -s /usr/bin/hex /usr/bin/allenbolt<br># ln -s /usr/bin/hex /usr/bin/nut<br># ln -s /usr/bin/hex /usr/bin/washer<br># ln -s /usr/bin/hex /usr/bin/cheesebolt</pre><p>and hence the program is installed and now</p><h4>Working with it :-</h4><p>Run one of the commands hexbolt, allenbolt, nut, washer, cheesebolt, without parameters. The syntax of the item specification will be printed. A .asc file will be produced in the current directory named according to the item requested. Example: cheesebolt_M3x10.asc.</p><p>Open brlcad &gt; Create new database from file &gt; then from file select &gt; import ascii format database &gt; select the created file &gt; provide commands to draw the objects</p><h3>A demo of drafted bolt :-</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bQBxl6qpaF3Fe8_2.png" /></figure><h3>A demo of raytraced bolt :-</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rvro3B_kscbFtceP.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x8veGOYLnlaHbgR3.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c81b7a9bf11" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing FElt on Linux]]></title>
            <link>https://medium.com/@gaganjyot/installing-felt-on-linux-1d66b2a0dda7?source=rss-705e0d99519e------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d66b2a0dda7</guid>
            <category><![CDATA[foss]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[fem]]></category>
            <dc:creator><![CDATA[gaganjyot]]></dc:creator>
            <pubDate>Tue, 15 Mar 2016 09:55:39 GMT</pubDate>
            <atom:updated>2016-03-15T09:55:39.133Z</atom:updated>
            <content:encoded><![CDATA[<p>FElt is a free system for introductory level finite element analysis. It is primarily intended as a teaching tool for introductory type courses in finite elements — probably in the mechanical/structural/civil fields. In a command line environment, FElt uses an intuitive, straightforward input syntax to describe problems. It also includes a graphical user interface for workstations that allows the user to set-up, solve and post-process the problem in a single CAD-like environment. The current version of FElt knows how to solve linear static and dynamic structural and thermal analysis problems; it can also do modal and spectral analysis for dynamic problems. FElt’s element library currently contains fourteen elements.</p><p>Requirements :-</p><p>You may need X11R5 or X11R6, including the<br> Athena widget set, to compile FElt.4</p><p><a href="https://github.com/pavossos/felt">Download Felt here</a></p><ul><li>sudo apt-get install x11-common ( for X11R5 or X11R6 )</li><li>sudo apt-get install libxaw7-dev</li><li>sudo apt-get install mesa-common-dev</li><li>sudo apt-get install libglu1-mesa-dev</li><li>sudo apt-get install libglw1-mesa-dev</li><li>change to felt directory and issue following commands ( directory where you have extracted felt files )</li><li>./configure</li><li>make</li><li>sudo make install</li></ul><p>And voila!! Your felt is installed!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d66b2a0dda7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>