Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
pkucmus committed Jan 31, 2021
1 parent e338d24 commit 4b81b24
Show file tree
Hide file tree
Showing 21 changed files with 868 additions and 0 deletions.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
contrib.eva-3d.page
54 changes: 54 additions & 0 deletions docs/css/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*
[data-md-color-primary="eva"] {
--md-primary-fg-color: #F88701;
--md-primary-fg-color--light: #f3ad57;
--md-primary-fg-color--dark: #b96906;
--md-primary-bg-color: white;
--md-primary-bg-color--light: #ffffffb3;
} */

h2 {
clear: left;
}

.md-header {
background: rgb(76,174,79);
background: linear-gradient(
65deg,
var(--md-primary-fg-color) 0%,
var(--md-primary-fg-color) 30%,
var(--md-accent-fg-color) 30.05%,
var(--md-accent-fg-color) 100%
/* rgba(101,105,101,1) 30.05%, */
/* rgba(101,105,101,1) 100% */
);
}

.badge {
line-height: 0.6;
font-weight: 700 !important;
font-size: 0.6rem;
padding: 0.1em 0.5em;
border-radius: 8px !important;
}

.md-content__inner {
margin: 0 .8rem 0;
}

.md-content__inner> :last-child {
margin-bottom: 1rem;
}
.md-content__inner> :last-child img:not(.twemoji) {
margin-bottom: -1.4rem;
}

/* .md-header-nav__ellipsis {
width: 100px !important;
background: rgb(76,174,79);
background: linear-gradient(65deg, rgba(76,174,79,1) 0%, rgba(76,174,79,1) 60%, rgba(101,105,101,1) 60.1%, rgba(101,105,101,1) 100%);
} */

.sponsors img {
height: 80px;
}
9 changes: 9 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# EVA / Contrib

This is a EVA repository for the community to share their parts that are not neccessarily 100% compatible with the EVA standard - i.e. a part that only works with a certain version of EVA / BMG.

This is also a place to share other things like spool holders, test prints, etc.

To submit something you need to issue a pull request here: https://github.com/EVA-3D/contrib-extras/pulls

If you need help with your submission please ask for help here: [Rat Rig Unofficial Discord Server](https://discord.gg/DcCEk8u)
7 changes: 7 additions & 0 deletions docs/js/extra.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
app.document$.subscribe(function() {
window.CI360.init();
var tables = document.querySelectorAll("article table")
tables.forEach(function(table) {
new Tablesort(table)
})
})
1 change: 1 addition & 0 deletions docs/spool_holders/.pages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
title: Spool holders
Binary file added docs/spool_holders/assets/pawels_spool_holder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions docs/spool_holders/pawels_spool_holder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: Paweł's 3030/2020 Spool Holder
---

> Created by: [Paweł Kucmus](https://main.eva-3d.page)
A spool holder with a screw, knob and a filament guide.

You can get different lengths of the screw thread and ends for different
bearings (608 or 688) you can get those from
[Onshape](https://cad.onshape.com/documents/c347782b8c92b21780d96bef/w/b88421730fcb90f0d84e16bb/e/4df0478d09f36656e6b06300).

| No | Qty | Name | Printable |
| -- | --- | ---------------------------------------------- | --------- |
| 1 | 2 | M3 x 12mm | No |
| 2 | 2 | M3 Hen nuts | No |
| 3 | 3 | M8 Hen nuts | No |
| 4 | 1 | M8 threaded rod (screw thead length + 90mm) | No |
| 5 | 2 | 608 or 688 bearings | No |
| 6 | 1 | Arm 3030 / 2020 | [Yes (3030)](stl/3030_2020_spool_holder_arm_3030.stl) / [Yes (2020)](stl/3030_2020_spool_holder_arm_2020.stl) |
| 7 | 1 | Guide | [Yes](stl/3030_2020_spool_holder_guide.stl) |
| 8 | 1 | Screw (90mm) | [Yes](stl/3030_2020_spool_holder_screw_90mm.stl) |
| 9 | 1 | Knob | [Yes](stl/3030_2020_spool_holder_knob.stl) |


![not_cube](assets/pawels_spool_holder.png)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions docs/test_prints/.pages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
title: Test Prints
Binary file added docs/test_prints/assets/not_cube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions docs/test_prints/not_cube.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Paweł's Not Cube
---

> Created by: [Paweł Kucmus](https://main.eva-3d.page)
Just a simple test print.

[Download :octicons-download-24:](stl/test_cube_ball_thingy.stl){: .md-button .md-button--primary }


![not_cube](assets/not_cube.png)
Binary file added docs/test_prints/stl/test_cube_ball_thingy.stl
Binary file not shown.
80 changes: 80 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
site_name: "EVA / Contrib"
site_url: "https://contrib.eva-3d.page/"
site_author: "Paweł Kucmus"
site_description: "EVA 2 - Contributed stuff"
edit_uri: ""

copyright: Copyright © 2020 Paweł Kucmus

repo_name: EVA-3D / contrib-extras
repo_url: https://github.com/EVA-3D/contrib-extras

theme:
logo: assets/logo_white_outline.svg
favicon: assets/logo_white_outline.svg
language: en
name: material
custom_dir: overrides
palette:
scheme: slate
primary: light green
accent: amber
features:
- navigation.instant
# - navigation.sections
- navigation.expand
- search.suggest
- search.highlight

plugins:
- search
- minify:
minify_html: true

extra_css:
- css/extra.css

extra_javascript:
- https://cdn.scaleflex.it/plugins/js-cloudimage-360-view/2.4.1/js-cloudimage-360-view.min.js
- https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/tablesort.min.js
- js/extra.js

markdown_extensions:
- abbr
- markdown.extensions.admonition
- markdown.extensions.attr_list
- markdown.extensions.codehilite:
guess_lang: false
- markdown.extensions.def_list
- markdown.extensions.footnotes
- markdown.extensions.meta
- markdown.extensions.toc:
permalink: true
- pymdownx.arithmatex
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
# - pymdownx.highlight:
# linenums_style: pymdownx-inline
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink:
repo_url_shorthand: true
user: EVA-3D
repo: eva-main
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.snippets:
check_paths: true
- pymdownx.superfences
- pymdownx.tabbed
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- toc:
permalink: true
23 changes: 23 additions & 0 deletions overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{% extends "base.html" %}

{% block extrahead %}
{% set title = config.site_name %}
{% if page and page.title and not page.is_homepage %}
{% set title = config.site_name ~ " - " ~ page.title | striptags %}
{% endif %}
{% set image = config.site_url ~ 'assets/banner.png' %}
<meta property="og:type" content="website">
<meta property="og:title" content="{{ title }}">
<meta property="og:description" content="{{ config.site_description }}">
<meta property="og:url" content="{{ page.canonical_url }}">
<meta property="og:image" content="{{ image }}">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1080">
<meta property="og:image:height" content="761">
{% endblock %}


{% block scripts %}
<script>window.CI360 = { notInitOnLoad: true }</script>
{{ super() }}
{% endblock scripts %}
83 changes: 83 additions & 0 deletions overrides/partials/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{% set site_url = config.site_url | d(nav.homepage.url, true) | url %}
{% if not config.use_directory_urls and site_url[0] == site_url[-1] == "." %}
{% set site_url = site_url ~ "/index.html" %}
{% endif %}
{% set class = "md-header" %}
{% if "navigation.tabs.sticky" in features %}
{% set class = class ~ " md-header--lifted" %}
{% endif %}
<header class="{{ class }}" data-md-component="header">
<nav class="md-header-nav md-grid" aria-label="{{ lang.t('header.title') }}">
<a href="{{ site_url }}" title="{{ config.site_name | e }}" class="md-header-nav__button md-logo" aria-label="{{ config.site_name }}">
{% include "partials/logo.html" %}
</a>
<label class="md-header-nav__button md-icon" for="__drawer">
{% include ".icons/material/menu" ~ ".svg" %}
</label>
<div class="md-header-nav__title" data-md-component="header-title">
<div class="md-header-nav__ellipsis">
<div class="md-header-nav__topic">
<span class="md-ellipsis">
{{ config.site_name }} <sup><sub>{{ config.version }}</sub></sup>
</span>
</div>
<div class="md-header-nav__topic" data-md-component="header-topic">
<span class="md-ellipsis">
{% if page and page.meta and page.meta.title %}
{{ page.meta.title }}
{% else %}
{{ page.title }}
{% endif %}
</span>
</div>
</div>
</div>
<div class="md-header-nav__options">
{% if not config.theme.palette is mapping %}
{% for option in config.theme.palette %}
{% set scheme = option.scheme | replace(" ", "-") | lower %}
{% set primary = option.primary | replace(" ", "-") | lower %}
{% set accent = option.accent | replace(" ", "-") | lower %}
<button class="md-header-nav__button md-icon" title="{{ option.toggle.name }}" aria-label="{{ option.toggle.name }}" data-md-option="palette" data-md-color-scheme="{{ scheme }}" data-md-color-primary="{{ primary }}" data-md-color-accent="{{ accent }}" data-md-state="hidden">
{% include ".icons/" ~ option.toggle.icon ~ ".svg" %}
</button>
{% endfor %}
{% endif %}
{% if config.extra.alternate %}
<div class="md-select">
{% set icon = config.theme.icon.translate or "material/translate" %}
<span class="md-header-nav__button md-icon">
{% include ".icons/" ~ icon ~ ".svg" %}
</span>
<div class="md-select__inner">
<ul class="md-select__list">
{% for alt in config.extra.alternate %}
<li class="md-select__item">
<a href="{{ alt.link | url }}" class="md-select__link">
{{ alt.name }}
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
{% endif %}
</div>
{% if "search" in config["plugins"] %}
<label class="md-header-nav__button md-icon" for="__search">
{% include ".icons/material/magnify.svg" %}
</label>
{% include "partials/search.html" %}
{% endif %}
{% if config.repo_url %}
<div class="md-header-nav__source">
{% include "partials/source.html" %}
</div>
{% endif %}
</nav>
{% if "navigation.tabs.sticky" in features %}
{% if "navigation.tabs" in features %}
{% include "partials/tabs.html" %}
{% endif %}
{% endif %}
</header>
Loading

0 comments on commit 4b81b24

Please sign in to comment.