Skip to content

Instantly share code, notes, and snippets.

Avatar
🇨🇿

Michal Altair Valášek ridercz

🇨🇿
View GitHub Profile
@ridercz
ridercz / privesky.scad
Created Oct 2, 2021
Generování přívěšků s čísly
View privesky.scad
/* [Tag options] */
diameter = 30;
thickness = 2;
extrusion = 1;
rim_width = 1.67;
hole_diameter = 4;
/* [Plater options] */
tag_start_number = 1;
tag_rows = 6;
@ridercz
ridercz / Altair-General.snippet
Created Sep 30, 2021
Visual Studio Code Snippets
View Altair-General.snippet
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Insert input model subclass</Title>
<Author>Michal A. Valasek</Author>
<Shortcut>imodel</Shortcut>
</Header>
<Snippet>
<Code Language="csharp" Delimiter="$"><![CDATA[[BindProperty]
@ridercz
ridercz / gopro.scad
Last active Apr 15, 2021
GitHub mount library for OpenSCAD
View gopro.scad
/****************************************************************************
* Altair's GoPro mounts library for OpenSCAD version: 1.0.0 (2021-04-16) *
* Copyright (c) Michal A. Valasek, 2021 license: CC BY-NC-SA 4.0 *
* ------------------------------------------------------------------------ *
* www.rider.cz * www.altair.blog *
****************************************************************************/
// Demo
$fn = 16;
color("#cc3333") gopro_mount_f();
@ridercz
ridercz / vzpera.scad
Created Jan 14, 2021
Vzpěra na židli
View vzpera.scad
include <A2D.scad>; // https://github.com/ridercz/A2D
assert(a2d_required([1, 6, 0]), "Please upgrade A2D library to version 1.6.0 or higher.");
/* [General] */
height = 15;
main_hole_size = [35.5, 42.5];
prop_hole_size = [40, 15];
wall_thickness = 6;
radius = 3;
@ridercz
ridercz / recept.md
Created Dec 5, 2020
Recept na plněné ořechy
View recept.md

Recept na plněné ořechy

Těsto

  • 14 dkg cukru moučky
  • 30 dkg hladké mouky
  • 8 dkg mletých ořechů (mandle, lískové, vlašské
  • 21 dkg másla
  • 1 žloutek
  • 2 lžičky kakaa (volitelně)
@ridercz
ridercz / nazor.scad
Created Oct 17, 2020
Děkujeme za názor a tady máte klíčenku
View nazor.scad
// For more information about this code (in Czech) see
// https://www.altair.blog/2019/11/layered-text
/* [Base] */
base_color = "#333333";
base_paddding = 2;
base_height = 2;
/* [Text layers] */
layer_heights = [1, 1];
View BroomClip.scad
/* [Parameters] */
inner_diameter_a = 20;
opening_angle_a = 60;
inner_diameter_b = 22;
opening_angle_b = 110;
height = 20;
wall_thickness = 2.49; // 6 perimeters of 0.4 mm nozzle
/* [Hidden] */
$fn = 64;
View MagClasp.scad
/*****************************************************************************
* PARAMETRIC MAGNETIC CLASP for protective mask version 1.1.0 (2020-03-30) *
* ------------------------------------------------------------------------- *
* Copyright (c) Michal Altair Valasek, 2020 - Licensed under CC BY-NC-SA *
* www.rider.cz * www.altairis.cz * www.altair.blog *
*****************************************************************************/
include <A2D.scad>; // https://github.com/ridercz/A2D
assert(a2d_required([1, 5, 0]), "Please upgrade A2D library to version 1.5.0 or higher.");
View MagClasp.stl
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ridercz
ridercz / RedukceOdsavani.scad
Last active Mar 12, 2020
Redukce odsávání pro kotoučovou pilu ve FutLabu
View RedukceOdsavani.scad
// Redukce odsávání pro stolovou pilu ve FutLabu
// (c) Michal A. Valášek, 2020 - CC BY-NC-SA
include <A2D.scad>; // https://github.com/ridercz/A2D
assert(a2d_required([1, 5, 0]), "Please upgrade A2D library to version 1.5.0 or higher.");
/* [Narrow part] */
narrow_outer_diameter = 64;
narrow_length = 25;