{"id":148050,"date":"2021-11-09T17:19:22","date_gmt":"2021-11-09T17:19:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/embed-stl\/"},"modified":"2026-02-04T08:38:10","modified_gmt":"2026-02-04T08:38:10","slug":"embed-stl","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/embed-stl\/","author":7374008,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"1.0.2","tested":"6.9.4","requires":"6.3","requires_php":"7.0","requires_plugins":null,"header_name":"Embed STL","header_author":"mmdoogie","header_description":"Adds STL as a media type for uploads, provides editor block for embeddable viewer based on viewstl plugin","assets_banners_color":"","last_updated":"2026-02-04 08:38:10","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/mmdoogie\/embed-stl","header_author_uri":"","rating":4.7,"author_block_rating":4.6666666666667,"active_installs":400,"downloads":4682,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":1,"sections":["description","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"mmdoogie","date":"2021-11-09 17:24:28"},"1.0.1":{"tag":"1.0.1","author":"mmdoogie","date":"2023-09-23 22:32:25"},"1.0.2":{"tag":"1.0.2","author":"mmdoogie","date":"2026-02-04 08:38:10"}},"upgrade_notice":{"1.0.2":"<ul>\n<li>Compatibility with WP 6.3+ only<\/li>\n<\/ul>","1.0.1":"<p>Behind-the-scenes changes only<\/p>","1.0.0":"<p>Initial release<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":1,"5":2},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2626872,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2626872,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2626872,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":{"embed-stl\/embed-stl":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"embed-stl\/embed-stl","title":"Embed STL","category":"media","description":"Embeds an STL model as an interactive 3D preview","keywords":["3d","model","stl"],"version":"1.0.2","textdomain":"embed-stl","attributes":{"mediaID":{"type":"number"},"mediaDesc":{"type":"string"},"mediaURL":{"type":"string"},"blockID":{"type":"string"},"blockSize":{"type":"string","default":"sm"},"modelColor":{"type":"string","default":"#777777"},"displayMode":{"type":"string","default":"flat"},"showGrid":{"type":"boolean","default":false},"autoRotate":{"type":"boolean","default":false},"showBorder":{"type":"boolean","default":true},"solidBackground":{"type":"boolean","default":false},"backgroundColor":{"type":"string","default":"#ffffff"},"hideOverlayIcon":{"type":"boolean","default":false},"defaultRotateX":{"type":"number","default":0},"defaultRotateY":{"type":"number","default":0},"defaultRotateZ":{"type":"number","default":0},"defaultZoomMod":{"type":"number","default":0}},"editorScript":["file:.\/block.js","embed-stl-viewer"],"viewScript":"embed-stl-viewer","style":"file:.\/style.css"}},"tagged_versions":["1.0.0","1.0.1","1.0.2"],"block_files":["\/tags\/1.0.2\/.\/block.js","\/tags\/1.0.2\/.\/style.css"],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2626872,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2626872,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Block in editor with media selected.","2":"Block options for customization."},"jetpack_post_was_ever_published":false},"plugin_section":[172757],"plugin_tags":[783,1220,894],"plugin_category":[],"plugin_contributors":[204936],"plugin_business_model":[],"class_list":["post-148050","plugin","type-plugin","status-publish","hentry","plugin_section-block","plugin_tags-3d","plugin_tags-block","plugin_tags-stl","plugin_contributors-mmdoogie","plugin_committers-mmdoogie"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/embed-stl\/assets\/icon.svg?rev=2626872","icon":"https:\/\/ps.w.org\/embed-stl\/assets\/icon.svg?rev=2626872","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/embed-stl\/assets\/screenshot-1.png?rev=2626872","caption":"Block in editor with media selected."},{"src":"https:\/\/ps.w.org\/embed-stl\/assets\/screenshot-2.png?rev=2626872","caption":"Block options for customization."}],"raw_content":"<!--section=description-->\n<ul>\n<li>Adds STL as a media type for uploads.<\/li>\n<li>Adds STL as a filter in media browser for picking items.<\/li>\n<li>Provides editor block for embedding a viewer, based on viewstl plugin.\n\n<ul>\n<li>Editor block uses media browser to pick model.<\/li>\n<li>Options to set model color, background color, border, auto rotation, etc.<\/li>\n<li>Editor block updates with changes to match what live site would display.<\/li>\n<\/ul><\/li>\n<li>Relevant elements are prefixed to allow displaying multiple viewers on one site page.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20file%20types%20are%20supported%3F\"><h3>What file types are supported?<\/h3><\/dt>\n<dd><p>Right now just STL.  A couple others like OBJ or 3MF may be easily added.  Others would take some extra work.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Update block to apiVersion 3, fix compatibility with newer versions<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix inline install from block editor<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Adds STL as a media type for uploads, provides editor block for embeddable viewer based on viewstl plugin.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/148050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=148050"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mmdoogie"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=148050"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=148050"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=148050"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=148050"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=148050"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=148050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}