From nobody Fri May 6 19:17:41 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A1D9D1AB4BA2 for ; Fri, 6 May 2022 19:17:45 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kw0h86bTfz4vDk for ; Fri, 6 May 2022 19:17:44 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 246JHf1q003515; Fri, 6 May 2022 13:17:42 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: (slicers and linux ports) was: Re: running FreeBSD on Notebook To: Tomek CEDRO , "Steve O'Hara-Smith" Cc: Ludovit Koren , FreeBSD Questions Mailing List References: <86fslmhi3r.fsf@gmail.com> <20220506185541.e3f85e4418f73749eba8cac9@sohara.org> From: Gary Aitken Message-ID: Date: Fri, 6 May 2022 13:17:41 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Fri, 06 May 2022 13:17:42 -0600 (MDT) X-Rspamd-Queue-Id: 4Kw0h86bTfz4vDk X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-1.03 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_TLS_LAST(0.00)[]; TAGGED_RCPT(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-0.81)[-0.810]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-0.42)[-0.420]; MLMMJ_DEST(0.00)[freebsd-questions]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; SUSPICIOUS_RECIPS(1.50)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 5/6/22 12:31 PM, Tomek CEDRO wrote: > On Fri, May 6, 2022 at 7:56 PM Steve O'Hara-Smith wrote: >> On Fri, 6 May 2022 11:38:29 -0600 >> Gary Aitken wrote: >>> I don't currently run fbsd on a laptop; I run ubuntu only because some >>> apps I need like prusa-slicer aren't available on fbsd. >> I run slicer, Flashprint and Simplify3d[1] in a Linux VM under >> Bhyve. > > I did port CURA (both GUI and CLI part) some time ago around 2014.. > but I have switched to Zortrax UV LCD printer and that one uses closed > source Z-Suite.. so I need to have one (and only) windoze machine for > 3D printer and CNC machine control with windoze only soft for them. > > It is possible to use most Linux ELF binaries directly on FreeBSD, but > the tools are Open-Source so it is a good thing to port them to > FreeBSD so you can have a native port/package :-) > >>>From what I can see, Prusa software [1] is Open-Source and based on > Slic3r [2]. I was using Slic3r too before I ported Cura. I cannot see > the Slic3r anymore (maybe I was running it from the sources directly), > but all Cura ports [3][4] and PrusaSlicer [5] seems to be still > maintained natively on FreeBSD :-) Here is a forum thread on how to > run Slic3r from the sources [6] :-) > > [1] https://github.com/prusa3d/PrusaSlicer > [2] https://github.com/slic3r/Slic3r > [3] https://www.freshports.org/cad/cura/ > [4] https://www.freshports.org/cad/cura-engine/ > [5] https://www.freshports.org/cad/PrusaSlicer/ > [6] https://forums.freebsd.org/threads/laser-cutter-3d-printer.62273/ I started working on porting prusa-slicer; the main problem I found was there were conditional compiles based on "ifdef linux", most of which were actually *nix dependencies. I sent a note to the developers about changing them but never heard back. I got busy and haven't had time to look at it. Unfortunately, I've had nothing but incredibly bad experiences trying to adapt linux-based ports; I've never gotten anywhere, starting with the configure stuff. I'm sure it's my mushy brain, but it would be nice if there was some reasonable "walk-me-through-it" somewhere. Gary