{"id":682,"date":"2023-03-11T17:23:19","date_gmt":"2023-03-11T17:23:19","guid":{"rendered":"https:\/\/ioannamitropoulouarch.com\/?p=682"},"modified":"2023-11-08T16:27:25","modified_gmt":"2023-11-08T16:27:25","slug":"compas_slicer","status":"publish","type":"post","link":"https:\/\/ioannamitropoulouarch.com\/index.php\/2023\/03\/11\/compas_slicer\/","title":{"rendered":"compas_slicer"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A software slicing package for FDM robotic 3D Printing<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">The motivation for writing this package stemmed from the diverse research areas exploring 3D printing at the <a href=\"https:\/\/ita.arch.ethz.ch\/\" title=\"Institute of Technology of Architecture, ETH Zurich\">Institute of Technology of Architecture, ETH Zurich<\/a>. Our goal was to identify and tackle common challenges encountered in this research by creating a versatile software package that all researchers can use and contribute to. Like this, common challenges need only be resolved once, solutions found by individual researchers are available to everyone, and a community is created for sharing knowledge and exchanging ideas on 3D printing.  <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To respond to these requirements, compas_slicer is written in Python based on the <a href=\"https:\/\/compas.dev\/compas_slicer\/latest\/index.html\" title=\"\">compas library<\/a>, which is widely used in our department. It follows a modular approach where different components can be added to modify or extend the functionality without the need for modifications on the core of the package. It consists of the following two main groups of classes<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Slicers <\/strong>are classes that slice an input geometry to produce paths<\/li><\/ol>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><\/td><td class=\"has-text-align-center\" data-align=\"center\">Planar slicer<\/td><td class=\"has-text-align-center\" data-align=\"center\">Interpolation slicer<\/td><td class=\"has-text-align-center\" data-align=\"center\">Scalar field slicer <\/td><td class=\"has-text-align-center\" data-align=\"center\">UV slicer<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td><\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"130\" height=\"118\" class=\"wp-image-696\" style=\"width: 130px;\" src=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094101.jpg\" alt=\"\" srcset=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094101.jpg 829w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094101-300x273.jpg 300w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094101-768x699.jpg 768w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094101-508x462.jpg 508w\" sizes=\"auto, (max-width: 130px) 100vw, 130px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"170\" height=\"117\" class=\"wp-image-698\" style=\"width: 170px;\" src=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094355.jpg\" alt=\"\" srcset=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094355.jpg 985w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094355-300x206.jpg 300w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094355-768x529.jpg 768w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094355-973x670.jpg 973w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094355-508x350.jpg 508w\" sizes=\"auto, (max-width: 170px) 100vw, 170px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"106\" class=\"wp-image-699\" style=\"width: 150px;\" src=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-11-094441.jpg\" alt=\"\" srcset=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-11-094441.jpg 1672w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-11-094441-300x212.jpg 300w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-11-094441-1024x722.jpg 1024w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-11-094441-768x542.jpg 768w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-11-094441-1536x1083.jpg 1536w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-11-094441-973x686.jpg 973w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-11-094441-508x358.jpg 508w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"188\" class=\"wp-image-701\" style=\"width: 150px;\" src=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094615.jpg\" alt=\"\" srcset=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094615.jpg 1078w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094615-240x300.jpg 240w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094615-819x1024.jpg 819w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094615-768x960.jpg 768w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094615-973x1217.jpg 973w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094615-508x635.jpg 508w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td><\/td><td><\/td><td><\/td><\/tr><\/tbody><\/table><figcaption>Different slicer classes in compas_slicer<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2. <strong>Print_organizers<\/strong> are classes embed fabrication-related information on the produced paths.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"394\" src=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094825-1-1024x394.jpg\" alt=\"\" class=\"wp-image-704\" srcset=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094825-1-1024x394.jpg 1024w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094825-1-300x116.jpg 300w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094825-1-768x296.jpg 768w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094825-1-1536x592.jpg 1536w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094825-1-2048x789.jpg 2048w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094825-1-973x375.jpg 973w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094825-1-508x196.jpg 508w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Left: Planar spring organizer. Right: Interpolation print organizer<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Various additional functionalities are added, such as different sorting algorithms of the paths, addition of brim support and safety print points, evaluation of overhang, assignment of variable print velocities, and others. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"511\" src=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094835-1024x511.jpg\" alt=\"\" class=\"wp-image-705\" srcset=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094835-1024x511.jpg 1024w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094835-300x150.jpg 300w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094835-768x383.jpg 768w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094835-1536x766.jpg 1536w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094835-973x485.jpg 973w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094835-508x253.jpg 508w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094835.jpg 1975w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Two alternative sorting algorithms for the planar printing of the V-shape. The orange lines display the travel paths, and the white thick lines display the print paths. Left: Sorting per horizontal layers creates a large number of interruptions and travel paths. Right: Sorting per branch significantly reduced the travel paths.  <\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The results produced by compas_slicer have been extensively tested in research and student projects. Below are some examples<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/dbt.arch.ethz.ch\/research-stream\/__trashed\/\" title=\"Non-planar Layered Morphologies\">Non-planar Layered Morphologies<\/a> (Ioanna Mitropoulou)<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">Compas_slicer paths<\/td><td class=\"has-text-align-center\" data-align=\"center\">3D-printed object<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"250\" height=\"222\" class=\"wp-image-706\" style=\"width: 250px;\" src=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094855.jpg\" alt=\"\" srcset=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094855.jpg 1191w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094855-300x266.jpg 300w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094855-1024x908.jpg 1024w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094855-768x681.jpg 768w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094855-973x863.jpg 973w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-094855-508x450.jpg 508w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"270\" height=\"271\" class=\"wp-image-632\" style=\"width: 270px;\" src=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2022\/11\/2_connection_FINAL_LOW_RES-1-edited.jpg\" alt=\"\" srcset=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2022\/11\/2_connection_FINAL_LOW_RES-1-edited.jpg 1175w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2022\/11\/2_connection_FINAL_LOW_RES-1-edited-300x300.jpg 300w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2022\/11\/2_connection_FINAL_LOW_RES-1-edited-1021x1024.jpg 1021w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2022\/11\/2_connection_FINAL_LOW_RES-1-edited-150x150.jpg 150w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2022\/11\/2_connection_FINAL_LOW_RES-1-edited-768x770.jpg 768w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2022\/11\/2_connection_FINAL_LOW_RES-1-edited-88x88.jpg 88w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2022\/11\/2_connection_FINAL_LOW_RES-1-edited-973x975.jpg 973w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2022\/11\/2_connection_FINAL_LOW_RES-1-edited-508x509.jpg 508w\" sizes=\"auto, (max-width: 270px) 100vw, 270px\" \/><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/gramaziokohler.arch.ethz.ch\/web\/e\/forschung\/334.html#:~:text=Gramazio%20Kohler%20Research&amp;text=Eggshell%20is%20a%20novel%20fabrication,developed%20in%20Smart%20Dynamic%20Casting.\" title=\"Eggshell \">Eggshell <\/a>(Joris Burger)<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"598\" src=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-100333-1024x598.jpg\" alt=\"\" class=\"wp-image-707\" srcset=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-100333-1024x598.jpg 1024w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-100333-300x175.jpg 300w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-100333-768x448.jpg 768w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-100333-1536x897.jpg 1536w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-100333-2048x1195.jpg 2048w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-100333-973x568.jpg 973w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-100333-508x297.jpg 508w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Printing on non-planar substrates (student project by Ko Tsuruta, Ilaria Giacomini, MAS in Architecture and Digital fabrication, ETH Zurich, 2020)<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"574\" src=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-101510-1024x574.jpg\" alt=\"\" class=\"wp-image-711\" srcset=\"https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-101510-1024x574.jpg 1024w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-101510-300x168.jpg 300w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-101510-768x431.jpg 768w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-101510-973x546.jpg 973w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-101510-508x285.jpg 508w, https:\/\/ioannamitropoulouarch.com\/wp-content\/uploads\/2023\/03\/Screenshot-2023-05-11-101510.jpg 1264w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">More information on compas_slicer can be found on the following websites<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/compas.dev\/compas_slicer\/latest\/\" title=\"\">compas_slicer documentation<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/compas.dev\/compas_slicer\/latest\/index.html\">compas_slicer GitHub repository<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Acknowledgments<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This work was carried out at ETH Zurich in collaboration with <strong>Joris Burger<\/strong>, in the chairs of <a href=\"https:\/\/dbt.arch.ethz.ch\/\" title=\"Digital Building Technologies\">Digital Building Technologies<\/a> and <a href=\"https:\/\/gramaziokohler.arch.ethz.ch\/\" title=\"Grammazio Kohler Research\">Grammazio Kohler Research<\/a>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Special thanks to <strong>Dr. Tom Van Mele<\/strong> and <strong>Gonzalo Casas<\/strong> for their help and advice. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>A software slicing package for FDM robotic 3D Printing<\/p>\n","protected":false},"author":1,"featured_media":715,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[75,46,81,80,78,76,88],"tags":[],"class_list":["post-682","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3d-printing","category-digital-fabrication","category-programming","category-python","category-research","category-robotic-fabricaton","category-teaching"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ioannamitropoulouarch.com\/index.php\/wp-json\/wp\/v2\/posts\/682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ioannamitropoulouarch.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ioannamitropoulouarch.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ioannamitropoulouarch.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ioannamitropoulouarch.com\/index.php\/wp-json\/wp\/v2\/comments?post=682"}],"version-history":[{"count":11,"href":"https:\/\/ioannamitropoulouarch.com\/index.php\/wp-json\/wp\/v2\/posts\/682\/revisions"}],"predecessor-version":[{"id":761,"href":"https:\/\/ioannamitropoulouarch.com\/index.php\/wp-json\/wp\/v2\/posts\/682\/revisions\/761"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ioannamitropoulouarch.com\/index.php\/wp-json\/wp\/v2\/media\/715"}],"wp:attachment":[{"href":"https:\/\/ioannamitropoulouarch.com\/index.php\/wp-json\/wp\/v2\/media?parent=682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ioannamitropoulouarch.com\/index.php\/wp-json\/wp\/v2\/categories?post=682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ioannamitropoulouarch.com\/index.php\/wp-json\/wp\/v2\/tags?post=682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}