SlideShare a Scribd company logo
1 of 46
Download to read offline
freeCAD
                        Installation
                           freeCAD
                     pyhton scripts
                     Drawing sheet




                            freeCAD
                     open source CAD


                      Diljot kaur
                 diljot6791@gmail.com

             Dept. of Computer Science


                     October 16, 2011

Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                    Installation
                                       freeCAD
                                 pyhton scripts
                                 Drawing sheet



Contents
  1   freeCAD
  2   Installation
  3   freeCAD
  4   pyhton scripts
         line script
         circle script
         cube script
         cylinder script
         fusion script using macro
         fusion script
         bottle script
  5   Drawing sheet
         How to show object in drawing sheet
          Drawing sheet of object
            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                    Installation
                                       freeCAD
                                 pyhton scripts
                                 Drawing sheet



Contents
  1   freeCAD
  2   Installation
  3   freeCAD
  4   pyhton scripts
         line script
         circle script
         cube script
         cylinder script
         fusion script using macro
         fusion script
         bottle script
  5   Drawing sheet
         How to show object in drawing sheet
          Drawing sheet of object
            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                    Installation
                                       freeCAD
                                 pyhton scripts
                                 Drawing sheet



Contents
  1   freeCAD
  2   Installation
  3   freeCAD
  4   pyhton scripts
         line script
         circle script
         cube script
         cylinder script
         fusion script using macro
         fusion script
         bottle script
  5   Drawing sheet
         How to show object in drawing sheet
          Drawing sheet of object
            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                    Installation
                                       freeCAD
                                 pyhton scripts
                                 Drawing sheet



Contents
  1   freeCAD
  2   Installation
  3   freeCAD
  4   pyhton scripts
         line script
         circle script
         cube script
         cylinder script
         fusion script using macro
         fusion script
         bottle script
  5   Drawing sheet
         How to show object in drawing sheet
          Drawing sheet of object
            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                    Installation
                                       freeCAD
                                 pyhton scripts
                                 Drawing sheet



Contents
  1   freeCAD
  2   Installation
  3   freeCAD
  4   pyhton scripts
         line script
         circle script
         cube script
         cylinder script
         fusion script using macro
         fusion script
         bottle script
  5   Drawing sheet
         How to show object in drawing sheet
          Drawing sheet of object
            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                  Installation
                                     freeCAD
                               pyhton scripts
                               Drawing sheet



Introduction


  Introduction
  FreeCAD is a general purpose Open Source 3D CAD
  modeler, aimed directly at mechanical engineering and
  product design but also fits in a wider range of uses around
  engineering, such as architecture or other engineering
  specialties. It is a feature-based parametric modeler with a
  modular software architecture which makes it easy to provide
  additional functionality without modifying the core system.



          Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                        Installation
                           freeCAD
                     pyhton scripts
                     Drawing sheet




                   Figure: Freecad software


Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                   Installation
                                      freeCAD
                                pyhton scripts
                                Drawing sheet



Installation



  Installation of freeCAD software
  Download the package freeCAD software from the following
  link:
  https://sourceforge.net/projects/free-cad/




           Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                    Installation
                                       freeCAD
                                 pyhton scripts
                                 Drawing sheet



Features

    1   FreeCAD is multi-platform. It runs and behaves exactly
        the same way on Windows Linux and Mac OSX
        platforms.
    2   FreeCAD also runs as a command line application, with
        low memory footprint. In command line mode, FreeCAD
        runs without its interface, but with all its geometry
        tools. It can be, for example, used as server to produce
        content for other applications.
    3   FreeCAD can be imported as a Python module, inside
        other applications that can run python scripts, or in a
        python console.

            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                    Installation
                                       freeCAD
                                 pyhton scripts
                                 Drawing sheet



Features

    1   FreeCAD is multi-platform. It runs and behaves exactly
        the same way on Windows Linux and Mac OSX
        platforms.
    2   FreeCAD also runs as a command line application, with
        low memory footprint. In command line mode, FreeCAD
        runs without its interface, but with all its geometry
        tools. It can be, for example, used as server to produce
        content for other applications.
    3   FreeCAD can be imported as a Python module, inside
        other applications that can run python scripts, or in a
        python console.

            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                    Installation
                                       freeCAD
                                 pyhton scripts
                                 Drawing sheet



Features

    1   FreeCAD is multi-platform. It runs and behaves exactly
        the same way on Windows Linux and Mac OSX
        platforms.
    2   FreeCAD also runs as a command line application, with
        low memory footprint. In command line mode, FreeCAD
        runs without its interface, but with all its geometry
        tools. It can be, for example, used as server to produce
        content for other applications.
    3   FreeCAD can be imported as a Python module, inside
        other applications that can run python scripts, or in a
        python console.

            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                    Installation
                                       freeCAD
                                 pyhton scripts
                                 Drawing sheet



Features

    1   FreeCAD is multi-platform. It runs and behaves exactly
        the same way on Windows Linux and Mac OSX
        platforms.
    2   FreeCAD also runs as a command line application, with
        low memory footprint. In command line mode, FreeCAD
        runs without its interface, but with all its geometry
        tools. It can be, for example, used as server to produce
        content for other applications.
    3   FreeCAD can be imported as a Python module, inside
        other applications that can run python scripts, or in a
        python console.

            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                    Installation
                                       freeCAD
                                 pyhton scripts
                                 Drawing sheet



Features

    4   Built-in scripting framework: FreeCAD features a
        built-in Python interpreter, and an API that covers
        almost any part of the application, the interface, the
        geometry and the representation of this geometry in the
        3D viewer. The interpreter can run single commands up
        to complex scripts, in fact entire modules can even be
        programmed completely in Python.
    5   a modular MSI installer allows flexible installations on
        Windows systems. Packages for Ubuntu systems are also
        maintained.


            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                    Installation
                                       freeCAD
                                 pyhton scripts
                                 Drawing sheet



Features

    4   Built-in scripting framework: FreeCAD features a
        built-in Python interpreter, and an API that covers
        almost any part of the application, the interface, the
        geometry and the representation of this geometry in the
        3D viewer. The interpreter can run single commands up
        to complex scripts, in fact entire modules can even be
        programmed completely in Python.
    5   a modular MSI installer allows flexible installations on
        Windows systems. Packages for Ubuntu systems are also
        maintained.


            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD
                                    Installation
                                       freeCAD
                                 pyhton scripts
                                 Drawing sheet



Features

    4   Built-in scripting framework: FreeCAD features a
        built-in Python interpreter, and an API that covers
        almost any part of the application, the interface, the
        geometry and the representation of this geometry in the
        3D viewer. The interpreter can run single commands up
        to complex scripts, in fact entire modules can even be
        programmed completely in Python.
    5   a modular MSI installer allows flexible installations on
        Windows systems. Packages for Ubuntu systems are also
        maintained.


            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                                 circle script
                                     freeCAD
                                                 cube script
                                  Installation
                                                 cylinder script
                                     freeCAD
                                                 fusion script using macro
                               pyhton scripts
                               Drawing sheet
                                                 fusion script
                                                 bottle script


Python script in freeCAD


  line script
  import Part,PartGui
  doc=App.newDocument()
  l=Part.Line()
  l.StartPoint=(0.0,0.0,0.0)
  l.EndPoint=(1.0,1.0,1.0)
  doc.addObject("Part::Feature","Line").
  Shape=l.toShape()
  doc.recompute()



          Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                       circle script
                           freeCAD
                                       cube script
                        Installation
                                       cylinder script
                           freeCAD
                                       fusion script using macro
                     pyhton scripts
                     Drawing sheet
                                       fusion script
                                       bottle script




                      Figure: image of line


Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                                 circle script
                                     freeCAD
                                                 cube script
                                  Installation
                                                 cylinder script
                                     freeCAD
                                                 fusion script using macro
                               pyhton scripts
                               Drawing sheet
                                                 fusion script
                                                 bottle script


Python script in freeCAD


  circle script
  import Part,PartGui
  doc=App.newDocument()
  c=Part.Circle()
  c.Radius=10.0
  f=doc.addObject("Part::Feature", "Circle").
  Shape=c.toShape()
  doc.recompute()




          Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                       circle script
                           freeCAD
                                       cube script
                        Installation
                                       cylinder script
                           freeCAD
                                       fusion script using macro
                     pyhton scripts
                     Drawing sheet
                                       fusion script
                                       bottle script




                    Figure: image of circle


Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                                 circle script
                                     freeCAD
                                                 cube script
                                  Installation
                                                 cylinder script
                                     freeCAD
                                                 fusion script using macro
                               pyhton scripts
                               Drawing sheet
                                                 fusion script
                                                 bottle script


Python script in freeCAD

  cube script
  import Part,PartGui
  doc=App.newDocument()
  App.ActiveDocument.addObject("Part::Box",
  "Box")
  App.ActiveDocument.Box.Length=10.00
  App.ActiveDocument.Box.Width=10.00
  App.ActiveDocument.Box.Height=10.00

  doc.recompute()


          Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                       circle script
                           freeCAD
                                       cube script
                        Installation
                                       cylinder script
                           freeCAD
                                       fusion script using macro
                     pyhton scripts
                     Drawing sheet
                                       fusion script
                                       bottle script




                     Figure: image of cube


Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                                 circle script
                                     freeCAD
                                                 cube script
                                  Installation
                                                 cylinder script
                                     freeCAD
                                                 fusion script using macro
                               pyhton scripts
                               Drawing sheet
                                                 fusion script
                                                 bottle script


Python script in freeCAD

  cylinder script
  import Part,PartGui
  doc=App.newDocument()

  App.ActiveDocument.addObject("Part::Cylinder",
  "Cylinder")
  App.ActiveDocument.Cylinder.Radius=80.00
  App.ActiveDocument.Cylinder.Height=100.00
  App.ActiveDocument.Cylinder.Angle=360.00
  doc.recompute()


          Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                       circle script
                           freeCAD
                                       cube script
                        Installation
                                       cylinder script
                           freeCAD
                                       fusion script using macro
                     pyhton scripts
                     Drawing sheet
                                       fusion script
                                       bottle script




                  Figure: image of cylinder


Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                                 circle script
                                     freeCAD
                                                 cube script
                                  Installation
                                                 cylinder script
                                     freeCAD
                                                 fusion script using macro
                               pyhton scripts
                               Drawing sheet
                                                 fusion script
                                                 bottle script


Python script in freeCAD
  fusion script using macro
  import Part,PartGui
  doc=App.newDocument()
  # Create three boxes and a cylinder
  App.ActiveDocument.addObject("Part::Box","Box")
  App.ActiveDocument.Box.Length=100.00
  App.ActiveDocument.Box.Width=100.00
  App.ActiveDocument.Box.Height=100.00

  App.ActiveDocument.addObject("Part::Box","Box1")
  App.ActiveDocument.Box1.Length=90.00
  App.ActiveDocument.Box1.Width=40.00
  App.ActiveDocument.Box1.Height=100.00
          Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                                 circle script
                                     freeCAD
                                                 cube script
                                  Installation
                                                 cylinder script
                                     freeCAD
                                                 fusion script using macro
                               pyhton scripts
                               Drawing sheet
                                                 fusion script
                                                 bottle script


Python script in freeCAD

  fusion script using macro
  App.ActiveDocument.addObject("Part::Box","Box2")
  App.ActiveDocument.Box2.Length=20.00
  App.ActiveDocument.Box2.Width=85.00
  App.ActiveDocument.Box2.Height=100.00

  App.ActiveDocument.addObject("Part::Cylinder",
  "Cylinder")
  App.ActiveDocument.Cylinder.Radius=80.00
  App.ActiveDocument.Cylinder.Height=100.00
  App.ActiveDocument.Cylinder.Angle=360.00

          Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                           circle script
                               freeCAD
                                           cube script
                            Installation
                                           cylinder script
                               freeCAD
                                           fusion script using macro
                         pyhton scripts
                         Drawing sheet
                                           fusion script
                                           bottle script


Python script in freeCAD
  fusion script using macro

  # Fuse two boxes and the cylinder
  App.activeDocument().addObject("Part::Fuse",
  "Fusion")
  App.activeDocument().Fusion.Base = App.
  activeDocument().Cylinder
  App.activeDocument().Fusion.Tool = App.
  activeDocument().Box1

  App.activeDocument().addObject("Part::Fuse","Fusion1")
  App.activeDocument().Fusion1.Base =
  App.activeDocument().Box2
  App.activeDocument().Fusion1.Tool =
          Guru Nanak Dev Engineering College diljot6791@wordpress.com
line script
                                                   circle script
                                       freeCAD
                                                   cube script
                                    Installation
                                                   cylinder script
                                       freeCAD
                                                   fusion script using macro
                                 pyhton scripts
                                 Drawing sheet
                                                   fusion script
                                                   bottle script


Python script in freeCAD


  fusion script using macro

  # Cut the fused shapes from the first box
  App.activeDocument().addObject("Part::Cut","Shape")
  App.activeDocument().Shape.Base =
  App.activeDocument().Box
  App.activeDocument().Shape.Tool =
  App.activeDocument().Fusion1




            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                                   circle script
                                       freeCAD
                                                   cube script
                                    Installation
                                                   cylinder script
                                       freeCAD
                                                   fusion script using macro
                                 pyhton scripts
                                 Drawing sheet
                                                   fusion script
                                                   bottle script


Python script in freeCAD

  fusion script using macro

  # Hide all the intermediate shapes
  Gui.activeDocument().Box.Visibility=False
  Gui.activeDocument().Box1.Visibility=False
  Gui.activeDocument().Box2.Visibility=False
  Gui.activeDocument().Cylinder.Visibility=False
  Gui.activeDocument().Fusion.Visibility=False
  Gui.activeDocument().Fusion1.Visibility=False
  doc.recompute()



            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                       circle script
                           freeCAD
                                       cube script
                        Installation
                                       cylinder script
                           freeCAD
                                       fusion script using macro
                     pyhton scripts
                     Drawing sheet
                                       fusion script
                                       bottle script




                      Figure: image of line


Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                                 circle script
                                     freeCAD
                                                 cube script
                                  Installation
                                                 cylinder script
                                     freeCAD
                                                 fusion script using macro
                               pyhton scripts
                               Drawing sheet
                                                 fusion script
                                                 bottle script


Python script in freeCAD
  fusion script
  import Part,PartGui
  doc=App.newDocument()
  Part.show(Part.makeBox(100,100,100).cut(Part.
  makeCylinder(80,100)).cut(Part.makeBox(90,40,100)).
  cut(Part.makeBox(20,85,100)))
  Shape = App.ActiveDocument.Shape.Shape

  print "visible edges:", len(visibleG0.Edges)

  doc.recompute()


          Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                       circle script
                           freeCAD
                                       cube script
                        Installation
                                       cylinder script
                           freeCAD
                                       fusion script using macro
                     pyhton scripts
                     Drawing sheet
                                       fusion script
                                       bottle script




                    Figure: image of object


Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                                 circle script
                                     freeCAD
                                                 cube script
                                  Installation
                                                 cylinder script
                                     freeCAD
                                                 fusion script using macro
                               pyhton scripts
                               Drawing sheet
                                                 fusion script
                                                 bottle script


Python script in freeCAD


  bottle script
  import Part
  import MakeBottle
  bottle = MakeBottle.makeBottle()
  Part.show(bottle)




          Guru Nanak Dev Engineering College     diljot6791@wordpress.com
line script
                                       circle script
                           freeCAD
                                       cube script
                        Installation
                                       cylinder script
                           freeCAD
                                       fusion script using macro
                     pyhton scripts
                     Drawing sheet
                                       fusion script
                                       bottle script




                    Figure: image of bottle


Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD     How to show object in drawing sheet
                                    Installation    Drawing sheet of object
                                       freeCAD      Drawing sheet of bottle
                                 pyhton scripts     Drawing sheet of table
                                 Drawing sheet     python script to change 3D object to 2D on Drawing



How to show object in drawing sheet in freeCAD

  Drawing sheet
    1   Firsty, to show the drawing view open the script in
        freeCAD and run it.
    2   Go to view > workbench > Drawing. This will open the
        drawing sheet.
    3   Now, select the object click on insert button to insert
        the drawing view of object. This will insert the page of
        drawing sheet. Select the object and click on button and
        this will insert the part object in the drawing view. Now
        click on view to insert the the object in drawing sheet.

            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD     How to show object in drawing sheet
                                    Installation    Drawing sheet of object
                                       freeCAD      Drawing sheet of bottle
                                 pyhton scripts     Drawing sheet of table
                                 Drawing sheet     python script to change 3D object to 2D on Drawing



How to show object in drawing sheet in freeCAD

  Drawing sheet
    1   Firsty, to show the drawing view open the script in
        freeCAD and run it.
    2   Go to view > workbench > Drawing. This will open the
        drawing sheet.
    3   Now, select the object click on insert button to insert
        the drawing view of object. This will insert the page of
        drawing sheet. Select the object and click on button and
        this will insert the part object in the drawing view. Now
        click on view to insert the the object in drawing sheet.

            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD     How to show object in drawing sheet
                                    Installation    Drawing sheet of object
                                       freeCAD      Drawing sheet of bottle
                                 pyhton scripts     Drawing sheet of table
                                 Drawing sheet     python script to change 3D object to 2D on Drawing



How to show object in drawing sheet in freeCAD

  Drawing sheet
    1   Firsty, to show the drawing view open the script in
        freeCAD and run it.
    2   Go to view > workbench > Drawing. This will open the
        drawing sheet.
    3   Now, select the object click on insert button to insert
        the drawing view of object. This will insert the page of
        drawing sheet. Select the object and click on button and
        this will insert the part object in the drawing view. Now
        click on view to insert the the object in drawing sheet.

            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD     How to show object in drawing sheet
                                    Installation    Drawing sheet of object
                                       freeCAD      Drawing sheet of bottle
                                 pyhton scripts     Drawing sheet of table
                                 Drawing sheet     python script to change 3D object to 2D on Drawing



How to show object in drawing sheet in freeCAD

  Drawing sheet
    1   Firsty, to show the drawing view open the script in
        freeCAD and run it.
    2   Go to view > workbench > Drawing. This will open the
        drawing sheet.
    3   Now, select the object click on insert button to insert
        the drawing view of object. This will insert the page of
        drawing sheet. Select the object and click on button and
        this will insert the part object in the drawing view. Now
        click on view to insert the the object in drawing sheet.

            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD     How to show object in drawing sheet
                                    Installation    Drawing sheet of object
                                       freeCAD      Drawing sheet of bottle
                                 pyhton scripts     Drawing sheet of table
                                 Drawing sheet     python script to change 3D object to 2D on Drawing



drawing sheet in freeCAD


  Drawing sheet
    4   To change the scale, click on scale button in the combo
        view and change the size of the object according to your
        requirment.
    5   To change the rotation, click on rotation button in
        combo view and change the coordinates of x,y,z in
        combo view.




            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD     How to show object in drawing sheet
                                    Installation    Drawing sheet of object
                                       freeCAD      Drawing sheet of bottle
                                 pyhton scripts     Drawing sheet of table
                                 Drawing sheet     python script to change 3D object to 2D on Drawing



drawing sheet in freeCAD


  Drawing sheet
    4   To change the scale, click on scale button in the combo
        view and change the size of the object according to your
        requirment.
    5   To change the rotation, click on rotation button in
        combo view and change the coordinates of x,y,z in
        combo view.




            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD     How to show object in drawing sheet
                                    Installation    Drawing sheet of object
                                       freeCAD      Drawing sheet of bottle
                                 pyhton scripts     Drawing sheet of table
                                 Drawing sheet     python script to change 3D object to 2D on Drawing



drawing sheet in freeCAD


  Drawing sheet
    4   To change the scale, click on scale button in the combo
        view and change the size of the object according to your
        requirment.
    5   To change the rotation, click on rotation button in
        combo view and change the coordinates of x,y,z in
        combo view.




            Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD     How to show object in drawing sheet
                        Installation    Drawing sheet of object
                           freeCAD      Drawing sheet of bottle
                     pyhton scripts     Drawing sheet of table
                     Drawing sheet     python script to change 3D object to 2D on Drawing




              Figure: Drawing view of object

Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD     How to show object in drawing sheet
                        Installation    Drawing sheet of object
                           freeCAD      Drawing sheet of bottle
                     pyhton scripts     Drawing sheet of table
                     Drawing sheet     python script to change 3D object to 2D on Drawing




              Figure: Drawing view of bottle

Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD     How to show object in drawing sheet
                        Installation    Drawing sheet of object
                           freeCAD      Drawing sheet of bottle
                     pyhton scripts     Drawing sheet of table
                     Drawing sheet     python script to change 3D object to 2D on Drawing




               Figure: Drawing view of table

Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD     How to show object in drawing sheet
                        Installation    Drawing sheet of object
                           freeCAD      Drawing sheet of bottle
                     pyhton scripts     Drawing sheet of table
                     Drawing sheet     python script to change 3D object to 2D on Drawing




                        Any Question?




Guru Nanak Dev Engineering College     diljot6791@wordpress.com
freeCAD     How to show object in drawing sheet
                                 Installation    Drawing sheet of object
                                    freeCAD      Drawing sheet of bottle
                              pyhton scripts     Drawing sheet of table
                              Drawing sheet     python script to change 3D object to 2D on Drawing




Thank You


Diljot Kaur
95011




         Guru Nanak Dev Engineering College     diljot6791@wordpress.com

More Related Content

Viewers also liked

オープンCAEをはじめよう!入門編 ver.2015
オープンCAEをはじめよう!入門編 ver.2015オープンCAEをはじめよう!入門編 ver.2015
オープンCAEをはじめよう!入門編 ver.2015mmer547
 
Intro to-freecad
Intro to-freecadIntro to-freecad
Intro to-freecadSLQedge
 
Solidmodelling
SolidmodellingSolidmodelling
SolidmodellingGopi Chand
 
How to make boxed text with LaTeX
How to make boxed text with LaTeXHow to make boxed text with LaTeX
How to make boxed text with LaTeXVesa Linja-aho
 
Small open source project
Small open source projectSmall open source project
Small open source projectBronwenLJones
 
Make cfmeshsetting.py.
Make cfmeshsetting.py.Make cfmeshsetting.py.
Make cfmeshsetting.py.Etsuji Nomura
 

Viewers also liked (11)

オープンCAEをはじめよう!入門編 ver.2015
オープンCAEをはじめよう!入門編 ver.2015オープンCAEをはじめよう!入門編 ver.2015
オープンCAEをはじめよう!入門編 ver.2015
 
Intro to-freecad
Intro to-freecadIntro to-freecad
Intro to-freecad
 
Solidmodelling
SolidmodellingSolidmodelling
Solidmodelling
 
How to make boxed text with LaTeX
How to make boxed text with LaTeXHow to make boxed text with LaTeX
How to make boxed text with LaTeX
 
Small open source project
Small open source projectSmall open source project
Small open source project
 
FreeCAD 3D CAD modeler
FreeCAD 3D CAD modelerFreeCAD 3D CAD modeler
FreeCAD 3D CAD modeler
 
Schizophrenia
SchizophreniaSchizophrenia
Schizophrenia
 
Bipolar Disorder
Bipolar DisorderBipolar Disorder
Bipolar Disorder
 
Make cfmeshsetting.py.
Make cfmeshsetting.py.Make cfmeshsetting.py.
Make cfmeshsetting.py.
 
Baffle meshing
Baffle meshingBaffle meshing
Baffle meshing
 
Schizophrenia
SchizophreniaSchizophrenia
Schizophrenia
 

Similar to 6 week training presentation

ScroIDE Project Dicussion
ScroIDE Project DicussionScroIDE Project Dicussion
ScroIDE Project DicussionMostafa Eweda
 
Oleksandr Navka How I Configure Infrastructure of My Project
Oleksandr Navka   How I Configure Infrastructure of My ProjectOleksandr Navka   How I Configure Infrastructure of My Project
Oleksandr Navka How I Configure Infrastructure of My ProjectGlobalLogic Ukraine
 
Apps for technical drawing (1)
Apps for technical drawing (1)Apps for technical drawing (1)
Apps for technical drawing (1)LayaReyesSoler
 
Fyp presentation-final
Fyp presentation-finalFyp presentation-final
Fyp presentation-finalImran Mumtaz
 
Gradle: One technology to build them all
Gradle: One technology to build them allGradle: One technology to build them all
Gradle: One technology to build them allBonitasoft
 
Top 7 AutoCAD Alternatives
Top 7 AutoCAD AlternativesTop 7 AutoCAD Alternatives
Top 7 AutoCAD AlternativesCapterra
 
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earth
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earthPittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earth
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earthGrace Jansen
 
[20200720]cloud native develoment - Nelson Lin
[20200720]cloud native develoment - Nelson Lin[20200720]cloud native develoment - Nelson Lin
[20200720]cloud native develoment - Nelson LinHanLing Shen
 
NanoCAD India, 2D & 3d CAD design software
NanoCAD India, 2D & 3d CAD design softwareNanoCAD India, 2D & 3d CAD design software
NanoCAD India, 2D & 3d CAD design softwarenanoCAD India
 
NanoCAD India, 2D & 3d CAD design software
NanoCAD India, 2D & 3d CAD design softwareNanoCAD India, 2D & 3d CAD design software
NanoCAD India, 2D & 3d CAD design softwarenanoCAD India
 
Boston Data Engineering: Kedro Python Framework for Data Science: Overview an...
Boston Data Engineering: Kedro Python Framework for Data Science: Overview an...Boston Data Engineering: Kedro Python Framework for Data Science: Overview an...
Boston Data Engineering: Kedro Python Framework for Data Science: Overview an...Boston Data Engineering
 
Kotlin Multiplatform in Action - Alexandr Pogrebnyak - IceRockDev
Kotlin Multiplatform in Action - Alexandr Pogrebnyak - IceRockDevKotlin Multiplatform in Action - Alexandr Pogrebnyak - IceRockDev
Kotlin Multiplatform in Action - Alexandr Pogrebnyak - IceRockDevDroidConTLV
 
Cv6594 Grounded Collaboration
Cv6594 Grounded CollaborationCv6594 Grounded Collaboration
Cv6594 Grounded CollaborationDonnie Gladfelter
 
Forge - DevCon 2016: Drawings! Drawings! Everywhere!
Forge - DevCon 2016: Drawings! Drawings! Everywhere!Forge - DevCon 2016: Drawings! Drawings! Everywhere!
Forge - DevCon 2016: Drawings! Drawings! Everywhere!Autodesk
 
IBM Rational Rhapsody and Qt Integration
IBM Rational Rhapsody and Qt IntegrationIBM Rational Rhapsody and Qt Integration
IBM Rational Rhapsody and Qt Integrationgjuljo
 
nanocad Pro 10
nanocad Pro 10nanocad Pro 10
nanocad Pro 10CSoft AS
 
Pengenalan kepada autocad
Pengenalan kepada autocadPengenalan kepada autocad
Pengenalan kepada autocadmohdfadil112279
 

Similar to 6 week training presentation (20)

ScroIDE Project Dicussion
ScroIDE Project DicussionScroIDE Project Dicussion
ScroIDE Project Dicussion
 
Oleksandr Navka How I Configure Infrastructure of My Project
Oleksandr Navka   How I Configure Infrastructure of My ProjectOleksandr Navka   How I Configure Infrastructure of My Project
Oleksandr Navka How I Configure Infrastructure of My Project
 
Apps for technical drawing (1)
Apps for technical drawing (1)Apps for technical drawing (1)
Apps for technical drawing (1)
 
Fyp presentation-final
Fyp presentation-finalFyp presentation-final
Fyp presentation-final
 
Gradle: One technology to build them all
Gradle: One technology to build them allGradle: One technology to build them all
Gradle: One technology to build them all
 
Top 7 AutoCAD Alternatives
Top 7 AutoCAD AlternativesTop 7 AutoCAD Alternatives
Top 7 AutoCAD Alternatives
 
Pro2009 en reseller
Pro2009 en resellerPro2009 en reseller
Pro2009 en reseller
 
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earth
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earthPittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earth
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earth
 
[20200720]cloud native develoment - Nelson Lin
[20200720]cloud native develoment - Nelson Lin[20200720]cloud native develoment - Nelson Lin
[20200720]cloud native develoment - Nelson Lin
 
NanoCAD India, 2D & 3d CAD design software
NanoCAD India, 2D & 3d CAD design softwareNanoCAD India, 2D & 3d CAD design software
NanoCAD India, 2D & 3d CAD design software
 
NanoCAD India, 2D & 3d CAD design software
NanoCAD India, 2D & 3d CAD design softwareNanoCAD India, 2D & 3d CAD design software
NanoCAD India, 2D & 3d CAD design software
 
Boston Data Engineering: Kedro Python Framework for Data Science: Overview an...
Boston Data Engineering: Kedro Python Framework for Data Science: Overview an...Boston Data Engineering: Kedro Python Framework for Data Science: Overview an...
Boston Data Engineering: Kedro Python Framework for Data Science: Overview an...
 
Kotlin Multiplatform in Action - Alexandr Pogrebnyak - IceRockDev
Kotlin Multiplatform in Action - Alexandr Pogrebnyak - IceRockDevKotlin Multiplatform in Action - Alexandr Pogrebnyak - IceRockDev
Kotlin Multiplatform in Action - Alexandr Pogrebnyak - IceRockDev
 
Cv6594 Grounded Collaboration
Cv6594 Grounded CollaborationCv6594 Grounded Collaboration
Cv6594 Grounded Collaboration
 
Forge - DevCon 2016: Drawings! Drawings! Everywhere!
Forge - DevCon 2016: Drawings! Drawings! Everywhere!Forge - DevCon 2016: Drawings! Drawings! Everywhere!
Forge - DevCon 2016: Drawings! Drawings! Everywhere!
 
IBM Rational Rhapsody and Qt Integration
IBM Rational Rhapsody and Qt IntegrationIBM Rational Rhapsody and Qt Integration
IBM Rational Rhapsody and Qt Integration
 
What is C3D?
What is C3D?What is C3D?
What is C3D?
 
nanocad Pro 10
nanocad Pro 10nanocad Pro 10
nanocad Pro 10
 
CDK - The next big thing - Quang Phuong
CDK - The next big thing - Quang PhuongCDK - The next big thing - Quang Phuong
CDK - The next big thing - Quang Phuong
 
Pengenalan kepada autocad
Pengenalan kepada autocadPengenalan kepada autocad
Pengenalan kepada autocad
 

Recently uploaded

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Recently uploaded (20)

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

6 week training presentation

  • 1. freeCAD Installation freeCAD pyhton scripts Drawing sheet freeCAD open source CAD Diljot kaur diljot6791@gmail.com Dept. of Computer Science October 16, 2011 Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 2. freeCAD Installation freeCAD pyhton scripts Drawing sheet Contents 1 freeCAD 2 Installation 3 freeCAD 4 pyhton scripts line script circle script cube script cylinder script fusion script using macro fusion script bottle script 5 Drawing sheet How to show object in drawing sheet Drawing sheet of object Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 3. freeCAD Installation freeCAD pyhton scripts Drawing sheet Contents 1 freeCAD 2 Installation 3 freeCAD 4 pyhton scripts line script circle script cube script cylinder script fusion script using macro fusion script bottle script 5 Drawing sheet How to show object in drawing sheet Drawing sheet of object Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 4. freeCAD Installation freeCAD pyhton scripts Drawing sheet Contents 1 freeCAD 2 Installation 3 freeCAD 4 pyhton scripts line script circle script cube script cylinder script fusion script using macro fusion script bottle script 5 Drawing sheet How to show object in drawing sheet Drawing sheet of object Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 5. freeCAD Installation freeCAD pyhton scripts Drawing sheet Contents 1 freeCAD 2 Installation 3 freeCAD 4 pyhton scripts line script circle script cube script cylinder script fusion script using macro fusion script bottle script 5 Drawing sheet How to show object in drawing sheet Drawing sheet of object Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 6. freeCAD Installation freeCAD pyhton scripts Drawing sheet Contents 1 freeCAD 2 Installation 3 freeCAD 4 pyhton scripts line script circle script cube script cylinder script fusion script using macro fusion script bottle script 5 Drawing sheet How to show object in drawing sheet Drawing sheet of object Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 7. freeCAD Installation freeCAD pyhton scripts Drawing sheet Introduction Introduction FreeCAD is a general purpose Open Source 3D CAD modeler, aimed directly at mechanical engineering and product design but also fits in a wider range of uses around engineering, such as architecture or other engineering specialties. It is a feature-based parametric modeler with a modular software architecture which makes it easy to provide additional functionality without modifying the core system. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 8. freeCAD Installation freeCAD pyhton scripts Drawing sheet Figure: Freecad software Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 9. freeCAD Installation freeCAD pyhton scripts Drawing sheet Installation Installation of freeCAD software Download the package freeCAD software from the following link: https://sourceforge.net/projects/free-cad/ Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 10. freeCAD Installation freeCAD pyhton scripts Drawing sheet Features 1 FreeCAD is multi-platform. It runs and behaves exactly the same way on Windows Linux and Mac OSX platforms. 2 FreeCAD also runs as a command line application, with low memory footprint. In command line mode, FreeCAD runs without its interface, but with all its geometry tools. It can be, for example, used as server to produce content for other applications. 3 FreeCAD can be imported as a Python module, inside other applications that can run python scripts, or in a python console. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 11. freeCAD Installation freeCAD pyhton scripts Drawing sheet Features 1 FreeCAD is multi-platform. It runs and behaves exactly the same way on Windows Linux and Mac OSX platforms. 2 FreeCAD also runs as a command line application, with low memory footprint. In command line mode, FreeCAD runs without its interface, but with all its geometry tools. It can be, for example, used as server to produce content for other applications. 3 FreeCAD can be imported as a Python module, inside other applications that can run python scripts, or in a python console. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 12. freeCAD Installation freeCAD pyhton scripts Drawing sheet Features 1 FreeCAD is multi-platform. It runs and behaves exactly the same way on Windows Linux and Mac OSX platforms. 2 FreeCAD also runs as a command line application, with low memory footprint. In command line mode, FreeCAD runs without its interface, but with all its geometry tools. It can be, for example, used as server to produce content for other applications. 3 FreeCAD can be imported as a Python module, inside other applications that can run python scripts, or in a python console. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 13. freeCAD Installation freeCAD pyhton scripts Drawing sheet Features 1 FreeCAD is multi-platform. It runs and behaves exactly the same way on Windows Linux and Mac OSX platforms. 2 FreeCAD also runs as a command line application, with low memory footprint. In command line mode, FreeCAD runs without its interface, but with all its geometry tools. It can be, for example, used as server to produce content for other applications. 3 FreeCAD can be imported as a Python module, inside other applications that can run python scripts, or in a python console. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 14. freeCAD Installation freeCAD pyhton scripts Drawing sheet Features 4 Built-in scripting framework: FreeCAD features a built-in Python interpreter, and an API that covers almost any part of the application, the interface, the geometry and the representation of this geometry in the 3D viewer. The interpreter can run single commands up to complex scripts, in fact entire modules can even be programmed completely in Python. 5 a modular MSI installer allows flexible installations on Windows systems. Packages for Ubuntu systems are also maintained. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 15. freeCAD Installation freeCAD pyhton scripts Drawing sheet Features 4 Built-in scripting framework: FreeCAD features a built-in Python interpreter, and an API that covers almost any part of the application, the interface, the geometry and the representation of this geometry in the 3D viewer. The interpreter can run single commands up to complex scripts, in fact entire modules can even be programmed completely in Python. 5 a modular MSI installer allows flexible installations on Windows systems. Packages for Ubuntu systems are also maintained. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 16. freeCAD Installation freeCAD pyhton scripts Drawing sheet Features 4 Built-in scripting framework: FreeCAD features a built-in Python interpreter, and an API that covers almost any part of the application, the interface, the geometry and the representation of this geometry in the 3D viewer. The interpreter can run single commands up to complex scripts, in fact entire modules can even be programmed completely in Python. 5 a modular MSI installer allows flexible installations on Windows systems. Packages for Ubuntu systems are also maintained. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 17. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Python script in freeCAD line script import Part,PartGui doc=App.newDocument() l=Part.Line() l.StartPoint=(0.0,0.0,0.0) l.EndPoint=(1.0,1.0,1.0) doc.addObject("Part::Feature","Line"). Shape=l.toShape() doc.recompute() Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 18. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Figure: image of line Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 19. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Python script in freeCAD circle script import Part,PartGui doc=App.newDocument() c=Part.Circle() c.Radius=10.0 f=doc.addObject("Part::Feature", "Circle"). Shape=c.toShape() doc.recompute() Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 20. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Figure: image of circle Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 21. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Python script in freeCAD cube script import Part,PartGui doc=App.newDocument() App.ActiveDocument.addObject("Part::Box", "Box") App.ActiveDocument.Box.Length=10.00 App.ActiveDocument.Box.Width=10.00 App.ActiveDocument.Box.Height=10.00 doc.recompute() Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 22. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Figure: image of cube Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 23. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Python script in freeCAD cylinder script import Part,PartGui doc=App.newDocument() App.ActiveDocument.addObject("Part::Cylinder", "Cylinder") App.ActiveDocument.Cylinder.Radius=80.00 App.ActiveDocument.Cylinder.Height=100.00 App.ActiveDocument.Cylinder.Angle=360.00 doc.recompute() Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 24. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Figure: image of cylinder Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 25. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Python script in freeCAD fusion script using macro import Part,PartGui doc=App.newDocument() # Create three boxes and a cylinder App.ActiveDocument.addObject("Part::Box","Box") App.ActiveDocument.Box.Length=100.00 App.ActiveDocument.Box.Width=100.00 App.ActiveDocument.Box.Height=100.00 App.ActiveDocument.addObject("Part::Box","Box1") App.ActiveDocument.Box1.Length=90.00 App.ActiveDocument.Box1.Width=40.00 App.ActiveDocument.Box1.Height=100.00 Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 26. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Python script in freeCAD fusion script using macro App.ActiveDocument.addObject("Part::Box","Box2") App.ActiveDocument.Box2.Length=20.00 App.ActiveDocument.Box2.Width=85.00 App.ActiveDocument.Box2.Height=100.00 App.ActiveDocument.addObject("Part::Cylinder", "Cylinder") App.ActiveDocument.Cylinder.Radius=80.00 App.ActiveDocument.Cylinder.Height=100.00 App.ActiveDocument.Cylinder.Angle=360.00 Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 27. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Python script in freeCAD fusion script using macro # Fuse two boxes and the cylinder App.activeDocument().addObject("Part::Fuse", "Fusion") App.activeDocument().Fusion.Base = App. activeDocument().Cylinder App.activeDocument().Fusion.Tool = App. activeDocument().Box1 App.activeDocument().addObject("Part::Fuse","Fusion1") App.activeDocument().Fusion1.Base = App.activeDocument().Box2 App.activeDocument().Fusion1.Tool = Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 28. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Python script in freeCAD fusion script using macro # Cut the fused shapes from the first box App.activeDocument().addObject("Part::Cut","Shape") App.activeDocument().Shape.Base = App.activeDocument().Box App.activeDocument().Shape.Tool = App.activeDocument().Fusion1 Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 29. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Python script in freeCAD fusion script using macro # Hide all the intermediate shapes Gui.activeDocument().Box.Visibility=False Gui.activeDocument().Box1.Visibility=False Gui.activeDocument().Box2.Visibility=False Gui.activeDocument().Cylinder.Visibility=False Gui.activeDocument().Fusion.Visibility=False Gui.activeDocument().Fusion1.Visibility=False doc.recompute() Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 30. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Figure: image of line Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 31. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Python script in freeCAD fusion script import Part,PartGui doc=App.newDocument() Part.show(Part.makeBox(100,100,100).cut(Part. makeCylinder(80,100)).cut(Part.makeBox(90,40,100)). cut(Part.makeBox(20,85,100))) Shape = App.ActiveDocument.Shape.Shape print "visible edges:", len(visibleG0.Edges) doc.recompute() Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 32. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Figure: image of object Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 33. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Python script in freeCAD bottle script import Part import MakeBottle bottle = MakeBottle.makeBottle() Part.show(bottle) Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 34. line script circle script freeCAD cube script Installation cylinder script freeCAD fusion script using macro pyhton scripts Drawing sheet fusion script bottle script Figure: image of bottle Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 35. freeCAD How to show object in drawing sheet Installation Drawing sheet of object freeCAD Drawing sheet of bottle pyhton scripts Drawing sheet of table Drawing sheet python script to change 3D object to 2D on Drawing How to show object in drawing sheet in freeCAD Drawing sheet 1 Firsty, to show the drawing view open the script in freeCAD and run it. 2 Go to view > workbench > Drawing. This will open the drawing sheet. 3 Now, select the object click on insert button to insert the drawing view of object. This will insert the page of drawing sheet. Select the object and click on button and this will insert the part object in the drawing view. Now click on view to insert the the object in drawing sheet. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 36. freeCAD How to show object in drawing sheet Installation Drawing sheet of object freeCAD Drawing sheet of bottle pyhton scripts Drawing sheet of table Drawing sheet python script to change 3D object to 2D on Drawing How to show object in drawing sheet in freeCAD Drawing sheet 1 Firsty, to show the drawing view open the script in freeCAD and run it. 2 Go to view > workbench > Drawing. This will open the drawing sheet. 3 Now, select the object click on insert button to insert the drawing view of object. This will insert the page of drawing sheet. Select the object and click on button and this will insert the part object in the drawing view. Now click on view to insert the the object in drawing sheet. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 37. freeCAD How to show object in drawing sheet Installation Drawing sheet of object freeCAD Drawing sheet of bottle pyhton scripts Drawing sheet of table Drawing sheet python script to change 3D object to 2D on Drawing How to show object in drawing sheet in freeCAD Drawing sheet 1 Firsty, to show the drawing view open the script in freeCAD and run it. 2 Go to view > workbench > Drawing. This will open the drawing sheet. 3 Now, select the object click on insert button to insert the drawing view of object. This will insert the page of drawing sheet. Select the object and click on button and this will insert the part object in the drawing view. Now click on view to insert the the object in drawing sheet. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 38. freeCAD How to show object in drawing sheet Installation Drawing sheet of object freeCAD Drawing sheet of bottle pyhton scripts Drawing sheet of table Drawing sheet python script to change 3D object to 2D on Drawing How to show object in drawing sheet in freeCAD Drawing sheet 1 Firsty, to show the drawing view open the script in freeCAD and run it. 2 Go to view > workbench > Drawing. This will open the drawing sheet. 3 Now, select the object click on insert button to insert the drawing view of object. This will insert the page of drawing sheet. Select the object and click on button and this will insert the part object in the drawing view. Now click on view to insert the the object in drawing sheet. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 39. freeCAD How to show object in drawing sheet Installation Drawing sheet of object freeCAD Drawing sheet of bottle pyhton scripts Drawing sheet of table Drawing sheet python script to change 3D object to 2D on Drawing drawing sheet in freeCAD Drawing sheet 4 To change the scale, click on scale button in the combo view and change the size of the object according to your requirment. 5 To change the rotation, click on rotation button in combo view and change the coordinates of x,y,z in combo view. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 40. freeCAD How to show object in drawing sheet Installation Drawing sheet of object freeCAD Drawing sheet of bottle pyhton scripts Drawing sheet of table Drawing sheet python script to change 3D object to 2D on Drawing drawing sheet in freeCAD Drawing sheet 4 To change the scale, click on scale button in the combo view and change the size of the object according to your requirment. 5 To change the rotation, click on rotation button in combo view and change the coordinates of x,y,z in combo view. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 41. freeCAD How to show object in drawing sheet Installation Drawing sheet of object freeCAD Drawing sheet of bottle pyhton scripts Drawing sheet of table Drawing sheet python script to change 3D object to 2D on Drawing drawing sheet in freeCAD Drawing sheet 4 To change the scale, click on scale button in the combo view and change the size of the object according to your requirment. 5 To change the rotation, click on rotation button in combo view and change the coordinates of x,y,z in combo view. Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 42. freeCAD How to show object in drawing sheet Installation Drawing sheet of object freeCAD Drawing sheet of bottle pyhton scripts Drawing sheet of table Drawing sheet python script to change 3D object to 2D on Drawing Figure: Drawing view of object Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 43. freeCAD How to show object in drawing sheet Installation Drawing sheet of object freeCAD Drawing sheet of bottle pyhton scripts Drawing sheet of table Drawing sheet python script to change 3D object to 2D on Drawing Figure: Drawing view of bottle Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 44. freeCAD How to show object in drawing sheet Installation Drawing sheet of object freeCAD Drawing sheet of bottle pyhton scripts Drawing sheet of table Drawing sheet python script to change 3D object to 2D on Drawing Figure: Drawing view of table Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 45. freeCAD How to show object in drawing sheet Installation Drawing sheet of object freeCAD Drawing sheet of bottle pyhton scripts Drawing sheet of table Drawing sheet python script to change 3D object to 2D on Drawing Any Question? Guru Nanak Dev Engineering College diljot6791@wordpress.com
  • 46. freeCAD How to show object in drawing sheet Installation Drawing sheet of object freeCAD Drawing sheet of bottle pyhton scripts Drawing sheet of table Drawing sheet python script to change 3D object to 2D on Drawing Thank You Diljot Kaur 95011 Guru Nanak Dev Engineering College diljot6791@wordpress.com