Software: Difference between revisions

From
No edit summary
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 9: Line 9:
===Fedora===
===Fedora===
Open a terminal and type the following:
Open a terminal and type the following:
  sudo dnf install git openscad rust cargo rabbitvcs-nautilus rabbitvcs-gedit rabbitvcs-cli kicad arduino keepassxc yosys gimp inkscape vim
  sudo dnf install git openscad rust cargo kicad keepassxc yosys gimp inkscape vim freecad


Some distributions, such as 64 bit Fedora, put 64 bit libraries in the /usr/lib64 directory, whereas nautilus-python (the program that lets us extend nautilus) assumes all libraries are in the /usr/lib directory. This is a nautilus-python bug. The current workaround is to create a symlink:
Some distributions, such as 64 bit Fedora, put 64 bit libraries in the /usr/lib64 directory, whereas nautilus-python (the program that lets us extend nautilus) assumes all libraries are in the /usr/lib directory. This is a nautilus-python bug. The current workaround is to create a symlink:
Line 87: Line 87:
Replimat parts are modeled with important features oriented toward the X axis origin, and centered on the grid location closest to the origin or with a mounting hole centered at that location.
Replimat parts are modeled with important features oriented toward the X axis origin, and centered on the grid location closest to the origin or with a mounting hole centered at that location.


A set of CAD functions are available as part of the NopSCADlib library for the free and open source [http://www.openscad.org/ OpenSCAD] [https://en.wikipedia.org/wiki/Constructive_solid_geometry constructive solid geometry] software.  It contains functions for tubular and T slot frames of configurable size and orientation, flat surfaces with and without notched corners, many additional parts, and easy hole-aligned translation:
A set of CAD functions are available as part of the [https://github.com/nophead/NopSCADlib NopSCADlib] library for the free and open source [http://www.openscad.org/ OpenSCAD] [https://en.wikipedia.org/wiki/Constructive_solid_geometry constructive solid geometry] software.  It contains functions for tubular and T slot frames of configurable size and orientation, flat surfaces with and without notched corners, many additional parts, and easy hole-aligned translation:


  // grid_frame_z(segments, material, width) - create a vertical frame 'segments' long
  // grid_frame_z(segments, material, width) - create a vertical frame 'segments' long
Line 111: Line 111:
* [https://github.com/moehriegitt/hob3l Github: Hob3l - Replace 3D CSG by Fast 2D Polygon Clipping for slicing for 3d printing]
* [https://github.com/moehriegitt/hob3l Github: Hob3l - Replace 3D CSG by Fast 2D Polygon Clipping for slicing for 3d printing]
* [https://www.reddit.com/r/openscad/comments/p43xqc/unionround_module/ Unionround() for fast fillets and chamfers]
* [https://www.reddit.com/r/openscad/comments/p43xqc/unionround_module/ Unionround() for fast fillets and chamfers]
* [http://graphscad.blogspot.com/ Graphscad]


==FreeCAD==
==FreeCAD==
Line 154: Line 155:
* [https://lovr.org/docs/v0.15.0/Animation/2_Bone_IK 2 Bone inverse kinematics]
* [https://lovr.org/docs/v0.15.0/Animation/2_Bone_IK 2 Bone inverse kinematics]
* [https://github.com/Voxar/lovr-handtracking-skinning Lovr hand tracking skinning]
* [https://github.com/Voxar/lovr-handtracking-skinning Lovr hand tracking skinning]
* [https://github.com/Ebiroll/qemu_esp32 Github: Qemu-ESP32]
* [https://github.com/buserror/simavr Github: Simavr]
* [https://wiki.qemu.org/Documentation/Platforms/ARM Qemu.org: ARM Platforms]
  termux-setup-storage
  termux-setup-storage
  ln -s /storage/emulated/0/Android/data/org.lovr.hotswap/files/.lodr/ lovr
  ln -s /storage/emulated/0/Android/data/org.lovr.hotswap/files/.lodr/ lovr
Line 164: Line 168:
* [https://www.mattkeeter.com/projects/antimony/3/ Antimony]
* [https://www.mattkeeter.com/projects/antimony/3/ Antimony]
* [https://github.com/libfive/libfive Libfive]
* [https://github.com/libfive/libfive Libfive]
* [https://docs.racket-lang.org/ruckus/index.html Ruckus: Procedural CAD For Weirdos]


=3D Scanning=
=3D Scanning=
Line 193: Line 198:
=Packaging=
=Packaging=
* [https://github.com/openzim/mwoffliner Github: MediaWiki offliner]
* [https://github.com/openzim/mwoffliner Github: MediaWiki offliner]
* [https://github.com/salamanred/dump_mediawiki_pages Github: dump mediawiki pages]
* [https://doc.wikimedia.org/mediawiki-core/master/php/md_docs_Hooks.html Mediawiki: How to handle a hook event in an extension]
* [https://doc.wikimedia.org/mediawiki-core/master/php/md_docs_pageupdater.html Mediawiki: DerivedPageDataUpdater]
* [https://www.mediawiki.org/wiki/Manual:Hooks Mediawiki: Hooks]
==Ubuntu==
==Ubuntu==
* [https://packaging.ubuntu.com/html/packaging-new-software.html Ubuntu: Packaging new software]
* [https://packaging.ubuntu.com/html/packaging-new-software.html Ubuntu: Packaging new software]
Line 215: Line 224:
* [https://arxiv.org/pdf/2108.08477.pdf Image2Lego: Customized LEGO® Set Generation from Images]
* [https://arxiv.org/pdf/2108.08477.pdf Image2Lego: Customized LEGO® Set Generation from Images]
* [https://wiki.shapeoko.com/index.php/CAM Shapeoko: CAM]
* [https://wiki.shapeoko.com/index.php/CAM Shapeoko: CAM]
* [http://math.andrej.com/2007/09/28/seemingly-impossible-functional-programs/ Seemingly impossible functional programs]
* [http://www.virtualmec.com Virtual Meccano]
* [https://github.com/openethereum/parity-ethereum Github: Parity Ethereum (Rust)]
* [https://github.com/paritytech/polkadot Github: Polkadot (Rust)]
* [https://github.com/Evil-Spirit/Adjacent GitHub: Geometric constraint solver]
* [https://danielkeep.github.io/tlborm/book/README.html The Little Book of Rust Macros]
<youtube>684KSAvYbw4</youtube>
<youtube>684KSAvYbw4</youtube>

Latest revision as of 16:49, 3 August 2022

Replimat is developed using the git version control system, on the github hosting service, in the replimat git repository as well as in the repositories of the upstream software projects themselves.

Follow these instructions to install and use the software portions of the Replimat project and the tools to modify them. Much of this software is intended to work with the replimat controller.

Setting up prerequisites

Linux

Fedora

Open a terminal and type the following:

sudo dnf install git openscad rust cargo kicad keepassxc yosys gimp inkscape vim freecad

Some distributions, such as 64 bit Fedora, put 64 bit libraries in the /usr/lib64 directory, whereas nautilus-python (the program that lets us extend nautilus) assumes all libraries are in the /usr/lib directory. This is a nautilus-python bug. The current workaround is to create a symlink:

ln -s /usr/lib64/libpython2.6.so /usr/lib/libpython2.6.so

NopSCADlib requires some setup:

sudo sh -c 'echo "export OPENSCADPATH=$HOME/Documents/GitHub/replimat/lib/openscad" >>/etc/profile'

Meikian Live

Meikian Live (formely named CWLive) is a GNU/Linux live distribution initially focused on Clone Wars community, but intended to all the RepRap users and developers. Based on Debian GNU/Linux, it includes most of the Software, Firmware, useful links and other related stuff you can use on a day to day as a reprapper.

Pop! OS

sudo apt install meld git openscad rustc cargo rabbitvcs-nautilus rabbitvcs-gedit rabbitvcs-cli kicad arduino gnome-tweak-tool obs-studio obs-plugins fritzing subversion keepassxc yosys openscad freecad gimp inkscape cura exfat-fuse python3-markdown codespell peek autokey filelight yagv vim vokoscreen-ng libserialport0 patchelf solvespace

To get the latest IceStudio, download the appimage from icestudio.io

NopSCADlib requires some setup:

sudo sh -c 'echo "export OPENSCADPATH=$HOME/Documents/GitHub/replimat/lib/openscad" >>/etc/profile'

Add the following to /etc/profile as well

if [ -d "$HOME/Documents/GitHub/replimat/lib/openscad/NopSCADlib/scripts/" ] ; then
  PATH="$PATH:$HOME/Documents/GitHub/replimat/lib/openscad/NopSCADlib/scripts/"
fi

Arduino doesn't run out of the box on recent Ubuntu releases. We need to patch a library to allow it to work:

sudo patchelf --add-needed /usr/lib/x86_64-linux-gnu/libserialport.so.0 /usr/lib/x86_64-linux-gnu/liblistSerialsj.so.1.4.0

Download and unpack U8glib-HAL arduino library into ~/Arduino/libraries/

Download Marlin firmware and unpack into ~/Documents/GitHub/Marlin/

Ubuntu

sudo apt install meld git openscad rustc cargo rabbitvcs-nautilus rabbitvcs-gedit rabbitvcs-cli kicad arduino gnome-tweak-tool obs-studio obs-plugins fritzing subversion keepassxc yosys openscad freecad gimp inkscape cura exfat-fuse python3-markdown codespell ubuntu-gnome-default-settings vanilla-gnome-default-settings vanilla-gnome-desktop ubuntu-gnome-desktop peek filelight yagv vim vokoscreen-ng libserialport0 patchelf solvespace

NopSCADlib requires some setup:

sudo sh -c 'echo "export OPENSCADPATH=$HOME/Documents/GitHub/replimat/lib/openscad" >>/etc/profile'

Ubuntu 20.10 requires a symlink in /usr/bin for the ImageMagick command line utility:

sudo ln -s /usr/bin/convert /usr/bin/magick

Arduino doesn't run out of the box on recent Ubuntu releases. We need to patch a library to allow it to work:

sudo patchelf --add-needed /usr/lib/x86_64-linux-gnu/libserialport.so.0 /usr/lib/x86_64-linux-gnu/liblistSerialsj.so.1.4.0

Download and unpack U8glib-HAL arduino library into ~/Arduino/libraries/

Download Marlin firmware and unpack into ~/Documents/GitHub/Marlin/

Redox

Redox OS is an operating system written in the Rust programming language, and a high-value build target for Replimat. Expanding the instructions here, for installing the software necessary for building and modifying Replimat to work on Redox OS would be an excellent way to contribute to the project.

Windows

  • chocolatey doesn't seem to have openscad, arduino, possibly others
  • Just-install does not seem to have openscad
  • Windows Remix seems to have openscad
    • openscad, github desktop, freecad, inkscape, gimp, arduino, cura,

CAD

Cloning the git repository

  • If you haven't already, install git.
  • Join Github
  • Using the command line client:
  • Using the Github Desktop:

Blender

Using blender from Python requires the 'bpy' module which does not install correctly on Ubuntu out of the box. Installation details here.

OpenSCAD

Replimat parts are modeled with important features oriented toward the X axis origin, and centered on the grid location closest to the origin or with a mounting hole centered at that location.

A set of CAD functions are available as part of the NopSCADlib library for the free and open source OpenSCAD constructive solid geometry software. It contains functions for tubular and T slot frames of configurable size and orientation, flat surfaces with and without notched corners, many additional parts, and easy hole-aligned translation:

// grid_frame_z(segments, material, width) - create a vertical frame 'segments' long
// grid_frame_x(segments, material, width) - create a horizontal frame along the X axis
// grid_frame_y(segments, material, width) - create a horizontal frame along the Y axis
// grid_nut()
// grid_bolt_z(length, width)
// grid_bolt_x(length, width)
// grid_bolt_y(length, width)
// grid_bolt_nut_z(length, width)
// grid_plate_dxf(wide, deep, hole_radius, corner_radius, width) - create a plate width and depth in 'segments'
// grid_plate_stl(wide, deep, hole_radius, corner_radius, width)
// grid_pillow_block()
// grid_translate([x, y, z]) - translate frames or plates in X, Y, or Z axes in units 'segments'

There's also an M-Bitbeam OpenSCAD library and another Gridbeam and Bitbeam OpenSCAD and OpenJSCAD library.

Additional information can be found in the OpenSCAD User Manual

FreeCAD

A FreeCAD Replimat library is currently under development. BOLTS and FreeCAD Library serve as useful starting points.

Inkscape

DXF2Papercraft

CADQuery

Code CAD based on the Python programming language and PythonOCC Docs

LoVR

"LÖVR uses a 3D coordinate system with values specified in meters. Negative z values are in front of the camera, positive y values are above the ground, and negative x values are to the left. By default, the coordinate system maps to the VR play area, so the origin is on the ground in the middle of the play space." LOVR docs

termux-setup-storage
ln -s /storage/emulated/0/Android/data/org.lovr.hotswap/files/.lodr/ lovr

Centering objects in Blender involves Shift-S 1, Shift-S 7

Misc

3D Scanning

CAM

Images

Nesting

Packaging

Ubuntu

Windows

References